[gnome-power-manager] Use smaller icons in gnome-power-statistics



commit 7b1d820003ce93d7dbc0457e91030b1264bb22ec
Author: Vincent Untz <vuntz gnome org>
Date:   Mon Jan 17 12:30:12 2011 +0100

    Use smaller icons in gnome-power-statistics
    
    We use GTK_ICON_SIZE_DND (32px) instead of GTK_ICON_SIZE_DIALOG (48px).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=622531

 src/gpm-statistics.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
index f740ced..e7eb21b 100644
--- a/src/gpm-statistics.c
+++ b/src/gpm-statistics.c
@@ -150,7 +150,7 @@ gpm_stats_add_devices_columns (GtkTreeView *treeview)
 
 	/* image */
 	renderer = gtk_cell_renderer_pixbuf_new ();
-	g_object_set (renderer, "stock-size", GTK_ICON_SIZE_DIALOG, NULL);
+	g_object_set (renderer, "stock-size", GTK_ICON_SIZE_DND, NULL);
 	column = gtk_tree_view_column_new_with_attributes (_("Image"), renderer,
 							   "gicon", GPM_DEVICES_COLUMN_ICON, NULL);
 	gtk_tree_view_append_column (treeview, column);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]