diff options
author | Jason Leach <leach@wam.umd.edu> | 2000-03-15 06:27:34 +0000 |
---|---|---|
committer | Jacob Leach <jleach@src.gnome.org> | 2000-03-15 06:27:34 +0000 |
commit | 44734af5726c8d4cca7163e9b9540c1cae0e8ad7 (patch) | |
tree | b03e67304d2f915ff46901b3d498488d767b56de /gweather | |
parent | 49efb34a0cdb03320eba883408d4c9434b0f6e13 (diff) |
reorganized right click applet menu with About on top and Properties at
2000-03-15 Jason Leach <leach@wam.umd.edu>
* gweather-applet.c (gweather_applet_create): reorganized right
click applet menu with About on top and Properties at the bottom
* gweather-pref.c (gweather_pref_create): changed the window title
for the properties dialog to "Gweather Properties" from just
"Properties"
Diffstat (limited to 'gweather')
-rw-r--r-- | gweather/ChangeLog | 9 | ||||
-rw-r--r-- | gweather/gweather-applet.c | 24 | ||||
-rw-r--r-- | gweather/gweather-pref.c | 2 |
3 files changed, 25 insertions, 10 deletions
diff --git a/gweather/ChangeLog b/gweather/ChangeLog index 246f8dc31..eed309b2f 100644 --- a/gweather/ChangeLog +++ b/gweather/ChangeLog @@ -1,3 +1,12 @@ +2000-03-15 Jason Leach <leach@wam.umd.edu> + + * gweather-applet.c (gweather_applet_create): reorganized right + click applet menu with About on top and Properties at the bottom + + * gweather-pref.c (gweather_pref_create): changed the window title + for the properties dialog to "Gweather Properties" from just + "Properties" + 2000-03-14 Spiros Papadimitirou <spapadim+@cs.cmu.edu> * Included a small patch from Jacob Berkman (jacob@helixcode.com); shows diff --git a/gweather/gweather-applet.c b/gweather/gweather-applet.c index d775c391a..7d548638f 100644 --- a/gweather/gweather-applet.c +++ b/gweather/gweather-applet.c @@ -182,21 +182,27 @@ void gweather_applet_create (int argc, char *argv[]) gtk_widget_set_events(gweather_applet, gtk_widget_get_events(gweather_applet) | \ GDK_BUTTON_PRESS_MASK); - applet_widget_register_stock_callback (APPLET_WIDGET(gweather_applet), "preferences", - GNOME_STOCK_MENU_PREF, _("Properties..."), - pref_cb, NULL); + applet_widget_register_stock_callback (APPLET_WIDGET(gweather_applet), + "about", + GNOME_STOCK_MENU_ABOUT, + _("About..."), + about_cb, NULL); applet_widget_register_stock_callback (APPLET_WIDGET(gweather_applet), "help", GNOME_STOCK_PIXMAP_HELP, _("Help"), help_cb, NULL); - - applet_widget_register_stock_callback (APPLET_WIDGET(gweather_applet), "about", - GNOME_STOCK_MENU_ABOUT, _("About..."), - about_cb, NULL); - applet_widget_register_stock_callback (APPLET_WIDGET(gweather_applet), "update", - GNOME_STOCK_MENU_REFRESH, _("Update"), + applet_widget_register_stock_callback (APPLET_WIDGET(gweather_applet), + "update", + GNOME_STOCK_MENU_REFRESH, + _("Update"), update_cb, NULL); + applet_widget_register_stock_callback (APPLET_WIDGET(gweather_applet), + "preferences", + GNOME_STOCK_MENU_PREF, + _("Properties..."), + pref_cb, NULL); + #ifdef HAVE_SAVE_SESSION_SIGNAL gtk_signal_connect (GTK_OBJECT(gweather_applet), "save_session", diff --git a/gweather/gweather-pref.c b/gweather/gweather-pref.c index c8ba383d2..ab2abb9e9 100644 --- a/gweather/gweather-pref.c +++ b/gweather/gweather-pref.c @@ -330,7 +330,7 @@ static void gweather_pref_create (void) g_return_if_fail(pref == NULL); - pref = gnome_dialog_new (_("Properties"), NULL); + pref = gnome_dialog_new (_("Gweather Properties"), NULL); gtk_widget_set_usize (pref, -2, 280); gtk_window_set_policy (GTK_WINDOW (pref), FALSE, FALSE, FALSE); gnome_dialog_close_hides(GNOME_DIALOG(pref), TRUE); |