[gnome-control-center] info: make all app chooser buttons the same width



commit 1f0c728688778a8f5db406b37f59d763e6172192
Author: William Jon McCann <jmccann redhat com>
Date:   Mon Feb 14 20:39:00 2011 -0500

    info: make all app chooser buttons the same width

 panels/info/cc-info-panel.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 5b2c896..e11a403 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -764,22 +764,22 @@ info_panel_setup_default_apps (CcInfoPanel  *self)
   table = WID (self->priv->builder, "default_apps_table");
 
   button = gtk_app_chooser_button_new ("text/html");
-  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 0, 1, 0, 0, 0, 0);
+  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 0, 1, GTK_FILL, 0, 0, 0);
 
   button = gtk_app_chooser_button_new ("x-scheme-handler/mailto");
-  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 1, 2, 0, 0, 0, 0);
+  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 1, 2, GTK_FILL, 0, 0, 0);
 
   button = gtk_app_chooser_button_new ("text/calendar");
-  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 2, 3, 0, 0, 0, 0);
+  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 2, 3, GTK_FILL, 0, 0, 0);
 
   button = gtk_app_chooser_button_new ("x-scheme-handler/xmpp");
-  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 3, 4, 0, 0, 0, 0);
+  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 3, 4, GTK_FILL, 0, 0, 0);
 
   button = gtk_app_chooser_button_new ("audio/x-vorbis+ogg");
-  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 4, 5, 0, 0, 0, 0);
+  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 4, 5, GTK_FILL, 0, 0, 0);
 
   button = gtk_app_chooser_button_new ("video/x-ogm+ogg");
-  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 5, 6, 0, 0, 0, 0);
+  gtk_table_attach (GTK_TABLE (table), button, 1, 2, 5, 6, GTK_FILL, 0, 0, 0);
 
   gtk_widget_show_all (table);
 }



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