Changeset View
Changeset View
Standalone View
Standalone View
lib/gwenviewconfig.kcfg
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Line(s) | 101 | <group name="FullScreen"> | |||
---|---|---|---|---|---|
113 | </entry> | 113 | </entry> | ||
114 | <entry name="FullScreenModeActive" type="Bool"> | 114 | <entry name="FullScreenModeActive" type="Bool"> | ||
115 | <default>false</default> | 115 | <default>false</default> | ||
116 | </entry> | 116 | </entry> | ||
117 | </group> | 117 | </group> | ||
118 | 118 | | |||
119 | <group name="ImageView"> | 119 | <group name="ImageView"> | ||
120 | <entry name="AlphaBackgroundMode" type="Enum"> | 120 | <entry name="AlphaBackgroundMode" type="Enum"> | ||
121 | <choices name="Gwenview::RasterImageView::AlphaBackgroundMode"> | 121 | <choices name="Gwenview::AbstractImageView::AlphaBackgroundMode"> | ||
122 | <choice name="RasterImageView::AlphaBackgroundCheckBoard"/> | 122 | <choice name="AbstractImageView::AlphaBackgroundCheckBoard"/> | ||
123 | <choice name="RasterImageView::AlphaBackgroundSolid"/> | 123 | <choice name="AbstractImageView::AlphaBackgroundSolid"/> | ||
124 | </choices> | 124 | </choices> | ||
125 | <default>RasterImageView::AlphaBackgroundCheckBoard</default> | 125 | <default>AbstractImageView::AlphaBackgroundCheckBoard</default> | ||
rkflx: If you want to rename this, you'd need to provide a [`kconf_update`](https://techbase.kde. | |||||
RasterImageView::AlphaBackgroundMode is still valid code, so old settings would probably still work. Would it be preferable to leave the kcfg file alone if it still works? huoni: `RasterImageView::AlphaBackgroundMode` is still valid code, so old settings would probably… | |||||
Does it still work, though? Open old Gwenview, change setting, open new Gwenview: Is the change retained? For cat ~/.config/gwenviewrc I get: AlphaBackgroundMode=RasterImageView::AlphaBackgroundSolid vs. AlphaBackgroundMode=AbstractImageView::AlphaBackgroundSolid ...which in my book is a different config entry entirely ;) Peter recently added a kconf_update script for Gwenview, I think you can piggyback on that one. rkflx: Does it still work, though? Open old Gwenview, change setting, open new Gwenview: Is the change… | |||||
Right, so I think I know how these update scripts work. huoni: Right, so I think I know how these update scripts work.
Would I simply edit `app/gwenview.upd`… | |||||
Yup, that's how I understood it too. Konversation is doing something similar. rkflx: Yup, that's how I understood it too. [Konversation](https://phabricator.kde. | |||||
126 | </entry> | 126 | </entry> | ||
127 | <entry name="AlphaBackgroundColor" type="Color"> | 127 | <entry name="AlphaBackgroundColor" type="Color"> | ||
128 | <default>#ffffff</default> | 128 | <default>#ffffff</default> | ||
129 | </entry> | 129 | </entry> | ||
130 | 130 | | |||
131 | <entry name="MouseWheelBehavior" type="Enum"> | 131 | <entry name="MouseWheelBehavior" type="Enum"> | ||
132 | <choices name="Gwenview::MouseWheelBehavior::Enum"> | 132 | <choices name="Gwenview::MouseWheelBehavior::Enum"> | ||
133 | <choice name="MouseWheelBehavior::Scroll"/> | 133 | <choice name="MouseWheelBehavior::Scroll"/> | ||
▲ Show 20 Lines • Show All 199 Lines • Show Last 20 Lines |
If you want to rename this, you'd need to provide a kconf_update script, otherwise users will lose their old settings.