aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-12-02 21:24:39 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-12-02 21:24:39 +0800
commitb82d3dcf35d88f3ea55c7f99359d7011835efd2b (patch)
treeb78d8bb9274baa3e1250b795e3801cd074a11165
parent9e0e536f4f0db5388e9a308430cb8f13d1a0945d (diff)
downloadgsoc2013-evolution-b82d3dcf35d88f3ea55c7f99359d7011835efd2b.tar.gz
gsoc2013-evolution-b82d3dcf35d88f3ea55c7f99359d7011835efd2b.tar.zst
gsoc2013-evolution-b82d3dcf35d88f3ea55c7f99359d7011835efd2b.zip
added a label to the dialog to make it look less ugly.
2003-12-02 Rodrigo Moya <rodrigo@ximian.com> * gui/dialogs/copy-source-dialog.c (copy_source_dialog): added a label to the dialog to make it look less ugly. svn path=/trunk/; revision=23577
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/dialogs/copy-source-dialog.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 715343010e..ff1e256220 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,5 +1,10 @@
2003-12-02 Rodrigo Moya <rodrigo@ximian.com>
+ * gui/dialogs/copy-source-dialog.c (copy_source_dialog): added
+ a label to the dialog to make it look less ugly.
+
+2003-12-02 Rodrigo Moya <rodrigo@ximian.com>
+
* gui/dialogs/copy-source-dialog.c: converted to use an
ESourceOptionMenu instead of the ESourceSelector.
(primary_selection_changed_cb): removed.
diff --git a/calendar/gui/dialogs/copy-source-dialog.c b/calendar/gui/dialogs/copy-source-dialog.c
index 57627929ff..0a123eb6e2 100644
--- a/calendar/gui/dialogs/copy-source-dialog.c
+++ b/calendar/gui/dialogs/copy-source-dialog.c
@@ -20,6 +20,7 @@
#include <gtk/gtkbox.h>
#include <gtk/gtkdialog.h>
+#include <gtk/gtklabel.h>
#include <gtk/gtkstock.h>
#include <bonobo/bonobo-i18n.h>
#include <widgets/misc/e-source-option-menu.h>
@@ -115,6 +116,7 @@ copy_source_dialog (GtkWindow *parent, ESource *source, CalObjType obj_type)
CopySourceDialogData csdd;
gboolean result = FALSE;
const char *gconf_key;
+ GtkWidget *label;
g_return_val_if_fail (E_IS_SOURCE (source), FALSE);
@@ -136,13 +138,16 @@ copy_source_dialog (GtkWindow *parent, ESource *source, CalObjType obj_type)
NULL);
gtk_dialog_set_response_sensitive (GTK_DIALOG (csdd.dialog), GTK_RESPONSE_OK, FALSE);
+ label = gtk_label_new (_("Select destination source"));
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (csdd.dialog)->vbox), label, FALSE, FALSE, 6);
+
csdd.conf_client = gconf_client_get_default ();
csdd.source_list = e_source_list_new_for_gconf (csdd.conf_client, gconf_key);
csdd.selector = e_source_option_menu_new (csdd.source_list);
g_signal_connect (G_OBJECT (csdd.selector), "source_selected",
G_CALLBACK (source_selected_cb), &csdd);
gtk_widget_show (csdd.selector);
- gtk_box_pack_start (GTK_BOX (GTK_DIALOG (csdd.dialog)->vbox), csdd.selector, TRUE, TRUE, 6);
+ gtk_box_pack_start (GTK_BOX (GTK_DIALOG (csdd.dialog)->vbox), csdd.selector, FALSE, FALSE, 6);
if (gtk_dialog_run (GTK_DIALOG (csdd.dialog)) == GTK_RESPONSE_OK) {
result = copy_source (&csdd);