[gnome-control-center/gnome-3-10] background: The chooser should have exactly 3 columns
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-10] background: The chooser should have exactly 3 columns
- Date: Wed, 8 Jan 2014 15:50:03 +0000 (UTC)
commit d03b7efe86cb843f2c50d0985007be8c4d868a28
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Dec 19 17:52:26 2013 +0100
background: The chooser should have exactly 3 columns
The correct way to specify the number of columns is to use
gtk_icon_view_set_columns.
https://bugzilla.gnome.org/show_bug.cgi?id=720652
panels/background/cc-background-chooser-dialog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/panels/background/cc-background-chooser-dialog.c
b/panels/background/cc-background-chooser-dialog.c
index 61d19d4..f99267b 100644
--- a/panels/background/cc-background-chooser-dialog.c
+++ b/panels/background/cc-background-chooser-dialog.c
@@ -406,6 +406,7 @@ cc_background_chooser_dialog_init (CcBackgroundChooserDialog *chooser)
priv->icon_view = gtk_icon_view_new ();
gtk_widget_set_hexpand (priv->icon_view, TRUE);
+ gtk_icon_view_set_columns (GTK_ICON_VIEW (priv->icon_view), 3);
gtk_container_add (GTK_CONTAINER (priv->sw_content), priv->icon_view);
g_signal_connect (priv->icon_view, "selection-changed", G_CALLBACK (on_selection_changed), chooser);
g_signal_connect (priv->icon_view, "item-activated", G_CALLBACK (on_item_activated), chooser);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]