Changeset 3022c329cd01edbd7dfa3400d41a87dfbf59e56e
- Timestamp:
- 04/06/2007 11:06:12 AM
(2 years ago)
- Author:
- syscrash <syscrash>
- git-committer:
- syscrash <syscrash> 1175882772 +0000
- git-parent:
[83eaf6b382796aac54ee69d428707cddeddeb98b]
- git-author:
- syscrash <syscrash> 1175882772 +0000
- Message:
trying to fix icon theme problem
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r83eaf6b |
r3022c32 |
|
| | 1 | Fri Apr 6 14:04:46 EDT 2007 Javeed Shaikh <syscrash2k@gmail.com> |
|---|
| | 2 | * Trying to fix a bug where icons are not being found, causing |
|---|
| | 3 | nitrogen to abort. Dave should probably look into this further. |
|---|
| | 4 | |
|---|
| 1 | 5 | Thu Apr 5 18:01:16 EDT 2007 Dave Foster <daf@minuslab.net> |
|---|
| 2 | 6 | * Added new icons from Craig Duquette, split out images |
|---|
| r83eaf6b |
r3022c32 |
|
| 149 | 149 | |
|---|
| 150 | 150 | // modes |
|---|
| 151 | | icon = icontheme->load_icon("wallpaper-scaled", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| 152 | | if (!icon) icon = genericicon; |
|---|
| | 151 | try { |
|---|
| | 152 | icon = icontheme->load_icon("wallpaper-scaled", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| | 153 | if (!icon) icon = genericicon; |
|---|
| | 154 | } catch (...) { |
|---|
| | 155 | icon = genericicon; |
|---|
| | 156 | } |
|---|
| 153 | 157 | this->select_mode.add_image_row( icon, "Scaled", SetBG::mode_to_string(SetBG::SET_SCALE), true ); |
|---|
| 154 | 158 | |
|---|
| 155 | | icon = icontheme->load_icon("wallpaper-centered", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| 156 | | if (!icon) icon = genericicon; |
|---|
| | 159 | try { |
|---|
| | 160 | icon = icontheme->load_icon("wallpaper-centered", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| | 161 | if (!icon) icon = genericicon; |
|---|
| | 162 | } catch (...) { |
|---|
| | 163 | icon = genericicon; |
|---|
| | 164 | } |
|---|
| 157 | 165 | this->select_mode.add_image_row( icon, "Centered", SetBG::mode_to_string(SetBG::SET_CENTER), false ); |
|---|
| 158 | 166 | |
|---|
| 159 | | icon = icontheme->load_icon("wallpaper-tiled", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| 160 | | if (!icon) icon = genericicon; |
|---|
| | 167 | try { |
|---|
| | 168 | icon = icontheme->load_icon("wallpaper-tiled", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| | 169 | if (!icon) icon = genericicon; |
|---|
| | 170 | } catch (...) { |
|---|
| | 171 | icon = genericicon; |
|---|
| | 172 | } |
|---|
| 161 | 173 | this->select_mode.add_image_row( icon, "Tiled", SetBG::mode_to_string(SetBG::SET_TILE), false ); |
|---|
| 162 | 174 | |
|---|
| 163 | | icon = icontheme->load_icon("wallpaper-bestfit", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| 164 | | if (!icon) icon = genericicon; |
|---|
| | 175 | try { |
|---|
| | 176 | icon = icontheme->load_icon("wallpaper-bestfit", 16, Gtk::ICON_LOOKUP_NO_SVG); |
|---|
| | 177 | if (!icon) icon = genericicon; |
|---|
| | 178 | } catch (...) { |
|---|
| | 179 | icon = genericicon; |
|---|
| | 180 | } |
|---|
| | 181 | |
|---|
| 165 | 182 | this->select_mode.add_image_row( icon, "Best Fit", SetBG::mode_to_string(SetBG::SET_BEST), false ); |
|---|
| 166 | 183 | |
|---|