[evolution-data-server/gnome-2-30] Fix pointlessly narrow default width in the name selection dialog Name the pointless label at the to



commit cca5c612af8d7f37c63c6f6a52f2226af187b392
Author: Michael Meeks <michael meeks novell com>
Date:   Tue May 11 11:46:17 2010 +0100

    Fix pointlessly narrow default width in the name selection dialog
    Name the pointless label at the top, so it can be disabled for MeeGo

 libedataserverui/e-name-selector-dialog.c  |    5 ++++-
 libedataserverui/e-name-selector-dialog.ui |    2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libedataserverui/e-name-selector-dialog.c b/libedataserverui/e-name-selector-dialog.c
index 090f892..81e8793 100644
--- a/libedataserverui/e-name-selector-dialog.c
+++ b/libedataserverui/e-name-selector-dialog.c
@@ -283,6 +283,9 @@ e_name_selector_dialog_init (ENameSelectorDialog *name_selector_dialog)
 	/* TODO: Remember last used source */
 
 	/* Set up dialog defaults */
+#if 0 // MEEGO - but we should consider for everyone
+	gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (name_selector_dialog->gui, "show-contacts-label")));
+#endif
 
 	gtk_dialog_add_buttons (GTK_DIALOG (name_selector_dialog),
 				GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
@@ -290,7 +293,7 @@ e_name_selector_dialog_init (ENameSelectorDialog *name_selector_dialog)
 
 	gtk_dialog_set_default_response (GTK_DIALOG (name_selector_dialog), GTK_RESPONSE_CLOSE);
 	gtk_window_set_modal            (GTK_WINDOW (name_selector_dialog), TRUE);
-	gtk_window_set_default_size     (GTK_WINDOW (name_selector_dialog), 472, -1);
+	gtk_window_set_default_size     (GTK_WINDOW (name_selector_dialog), 700, -1);
 	gtk_window_set_resizable        (GTK_WINDOW (name_selector_dialog), TRUE);
 	gtk_dialog_set_has_separator    (GTK_DIALOG (name_selector_dialog), FALSE);
 	gtk_container_set_border_width  (GTK_CONTAINER (name_selector_dialog), 4);
diff --git a/libedataserverui/e-name-selector-dialog.ui b/libedataserverui/e-name-selector-dialog.ui
index 2d23448..58b98d9 100644
--- a/libedataserverui/e-name-selector-dialog.ui
+++ b/libedataserverui/e-name-selector-dialog.ui
@@ -30,7 +30,7 @@
         <property name="homogeneous">False</property>
         <property name="spacing">6</property>
         <child>
-          <object class="GtkLabel" id="label33">
+          <object class="GtkLabel" id="show-contacts-label">
             <property name="visible">True</property>
             <property name="label" translatable="yes">&lt;b&gt;Show Contacts&lt;/b&gt;</property>
             <property name="use_underline">False</property>



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