aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_toolbar.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-26 06:34:05 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-26 06:34:05 +0000
commit9737e535fb7659717e6ae79a7c24964e61d205a1 (patch)
tree92ddb92087eea14e9b33687b1ec1abe7928b07c2 /src/prefs_toolbar.c
parent980184bb430c44fdd4cd90eef9e230fc379c8d36 (diff)
set toolbar customization dialog title and label.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1504 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/prefs_toolbar.c')
-rw-r--r--src/prefs_toolbar.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/prefs_toolbar.c b/src/prefs_toolbar.c
index cb8c16b6..4ddaff2d 100644
--- a/src/prefs_toolbar.c
+++ b/src/prefs_toolbar.c
@@ -25,6 +25,8 @@
#include <glib.h>
#include <glib/gi18n.h>
+#include <gtk/gtkwindow.h>
+#include <gtk/gtklabel.h>
#include "prefs_toolbar.h"
#include "prefs_display_items.h"
@@ -134,6 +136,11 @@ gint prefs_toolbar_open(ToolbarType type, gint *visible_items,
gint ret = 0;
dialog = prefs_display_items_dialog_create();
+ gtk_window_set_title(GTK_WINDOW(dialog->window),
+ _("Customize toolbar"));
+ gtk_label_set_text(GTK_LABEL(dialog->label),
+ _("Select items to be displayed on the toolbar. You can modify\n"
+ "the order by using the Up / Down button, or dragging the items."));
switch (type) {
case TOOLBAR_MAIN:
@@ -153,6 +160,8 @@ gint prefs_toolbar_open(ToolbarType type, gint *visible_items,
prefs_display_items_dialog_set_visible(dialog, visible_items);
+ gtk_widget_show(dialog->window);
+
while (dialog->finished == FALSE)
gtk_main_iteration();