[Xfce4-commits] <xfce4-settings:bluesabre/display-settings> Improve visual appearance of the iconview
Simon Steinbeiss
noreply at xfce.org
Thu Oct 25 12:26:01 CEST 2012
Updating branch refs/heads/bluesabre/display-settings
to 5b4c5106eeaf520e8e796dbdfcf8b6e1a4b93c2a (commit)
from 78fd20227cd53ce1bf3c0749946dee133baed251 (commit)
commit 5b4c5106eeaf520e8e796dbdfcf8b6e1a4b93c2a
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Thu Oct 25 12:24:02 2012 +0200
Improve visual appearance of the iconview
dialogs/display-settings/display-dialog.glade | 8 +++-----
dialogs/display-settings/main.c | 3 ++-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/dialogs/display-settings/display-dialog.glade b/dialogs/display-settings/display-dialog.glade
index 10276ce..de95707 100644
--- a/dialogs/display-settings/display-dialog.glade
+++ b/dialogs/display-settings/display-dialog.glade
@@ -69,7 +69,6 @@
<property name="spacing">12</property>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
- <property name="width_request">200</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">never</property>
@@ -79,15 +78,14 @@
<object class="GtkIconView" id="randr-outputs">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="item_orientation">horizontal</property>
<property name="columns">1</property>
- <property name="spacing">6</property>
+ <property name="column_spacing">0</property>
</object>
</child>
</object>
<packing>
- <property name="expand">True</property>
- <property name="fill">True</property>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index bfd1cc9..738c04a 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1400,11 +1400,12 @@ display_settings_iconview_populate (GtkBuilder *builder)
/* Set the iconview model */
iconview = gtk_builder_get_object (builder, "randr-outputs");
gtk_icon_view_set_model (GTK_ICON_VIEW (iconview), GTK_TREE_MODEL (store));
+ gtk_icon_view_set_item_width (GTK_ICON_VIEW (iconview), 48*2);
/* Get the display icon */
display_icon =
gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), "display-icon",
- 32,
+ 48,
GTK_ICON_LOOKUP_GENERIC_FALLBACK,
NULL);
More information about the Xfce4-commits
mailing list