add tooltips to online/offline button and account selector button
authorPaul Mangan <paul@claws-mail.org>
Wed, 19 Feb 2003 17:31:07 +0000 (17:31 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 19 Feb 2003 17:31:07 +0000 (17:31 +0000)
ChangeLog.claws
configure.ac
src/mainwindow.c

index 42c160f18846e3634383f1fa8aba87f3470dbd45..08a3d6177fe99ec1484e61295338a221eb26fd9d 100644 (file)
@@ -1,3 +1,9 @@
+2003-02-19 [paul]      0.8.10claws29
+
+       * src/mainwindow.c
+               add tooltips to online/offline button and account selector
+               button
+
 2003-02-19 [paul]      0.8.10claws28
 
        * src/folder.c
index 8741dbe1830701e572a2c2aac03db27ab2f34c5e..8e1dbb191ee2d8c89fb407fab1de210480f1723e 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws28
+EXTRA_VERSION=claws29
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 16742dd392c61c480b5ad4561e3002f63d683728..9595087a1dcf8969b9fe79ef35968978ef23a4cc 100644 (file)
@@ -718,6 +718,9 @@ MainWindow *main_window_create(SeparateType type)
        GtkWidget *offline_pixmap;
        GtkWidget *online_switch;
        GtkWidget *offline_switch;
+       GtkTooltips *offline_tip;
+       GtkTooltips *online_tip;
+       GtkTooltips *sel_ac_tip;
 
        FolderView *folderview;
        SummaryView *summaryview;
@@ -809,8 +812,14 @@ MainWindow *main_window_create(SeparateType type)
 
        online_pixmap = stock_pixmap_widget(hbox_stat, STOCK_PIXMAP_WORK_ONLINE);
        offline_pixmap = stock_pixmap_widget(hbox_stat, STOCK_PIXMAP_WORK_OFFLINE);
+       online_tip = gtk_tooltips_new();
        online_switch = gtk_button_new ();
+       gtk_tooltips_set_tip(GTK_TOOLTIPS(online_tip),
+                            online_switch, _("Go offline"), NULL);
+       offline_tip = gtk_tooltips_new();
        offline_switch = gtk_button_new ();
+       gtk_tooltips_set_tip(GTK_TOOLTIPS(offline_tip),
+                            offline_switch, _("Go online"), NULL);
        gtk_container_add (GTK_CONTAINER(online_switch), online_pixmap);
        gtk_button_set_relief (GTK_BUTTON(online_switch), GTK_RELIEF_NONE);
        gtk_signal_connect (GTK_OBJECT(online_switch), "clicked", (GtkSignalFunc)online_switch_clicked, mainwin);
@@ -823,7 +832,10 @@ MainWindow *main_window_create(SeparateType type)
        statuslabel = gtk_label_new("");
        gtk_box_pack_start(GTK_BOX(hbox_stat), statuslabel, FALSE, FALSE, 0);
 
+       sel_ac_tip = gtk_tooltips_new();
        ac_button = gtk_button_new();
+       gtk_tooltips_set_tip(GTK_TOOLTIPS(sel_ac_tip),
+                            ac_button, _("Select account"), NULL);
        gtk_button_set_relief(GTK_BUTTON(ac_button), GTK_RELIEF_NONE);
        GTK_WIDGET_UNSET_FLAGS(ac_button, GTK_CAN_FOCUS);
        gtk_widget_set_usize(ac_button, -1, 1);