summaryrefslogtreecommitdiff
path: root/mateweather
diff options
context:
space:
mode:
Diffstat (limited to 'mateweather')
-rw-r--r--mateweather/mateweather-applet.c8
-rw-r--r--mateweather/mateweather-dialog.c2
-rw-r--r--mateweather/mateweather-pref.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/mateweather/mateweather-applet.c b/mateweather/mateweather-applet.c
index f6e65ce2..856c3475 100644
--- a/mateweather/mateweather-applet.c
+++ b/mateweather/mateweather-applet.c
@@ -108,16 +108,16 @@ static const GtkActionEntry weather_applet_menu_actions [] = {
{ "Details", NULL, N_("_Details"),
NULL, NULL,
G_CALLBACK (details_cb) },
- { "Update", GTK_STOCK_REFRESH, N_("_Update"),
+ { "Update", "view-refresh", N_("_Update"),
NULL, NULL,
G_CALLBACK (update_cb) },
- { "Props", GTK_STOCK_PROPERTIES, N_("_Preferences"),
+ { "Props", "document-properties", N_("_Preferences"),
NULL, NULL,
G_CALLBACK (pref_cb) },
- { "Help", GTK_STOCK_HELP, N_("_Help"),
+ { "Help", "help-browser", N_("_Help"),
NULL, NULL,
G_CALLBACK (help_cb) },
- { "About", GTK_STOCK_ABOUT, N_("_About"),
+ { "About", "help-about", N_("_About"),
NULL, NULL,
G_CALLBACK (about_cb) }
};
diff --git a/mateweather/mateweather-dialog.c b/mateweather/mateweather-dialog.c
index c2eefea7..71a150b2 100644
--- a/mateweather/mateweather-dialog.c
+++ b/mateweather/mateweather-dialog.c
@@ -184,7 +184,7 @@ static void mateweather_dialog_create(MateWeatherDialog* dialog)
gtk_window_set_title (GTK_WINDOW (dialog), _("Details"));
gtk_dialog_add_buttons (GTK_DIALOG (dialog),
_("_Update"), GTK_RESPONSE_OK,
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+ "gtk-close", GTK_RESPONSE_CLOSE,
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE);
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
diff --git a/mateweather/mateweather-pref.c b/mateweather/mateweather-pref.c
index ba3828bb..ced95bc7 100644
--- a/mateweather/mateweather-pref.c
+++ b/mateweather/mateweather-pref.c
@@ -810,7 +810,7 @@ static void mateweather_pref_create(MateWeatherPref* pref)
g_object_set (pref, "destroy-with-parent", TRUE, NULL);
gtk_window_set_title (GTK_WINDOW (pref), _("Weather Preferences"));
- gtk_dialog_add_buttons (GTK_DIALOG (pref), GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, GTK_STOCK_HELP, GTK_RESPONSE_HELP, NULL);
+ gtk_dialog_add_buttons (GTK_DIALOG (pref), "gtk-close", GTK_RESPONSE_CLOSE, "gtk-help", GTK_RESPONSE_HELP, NULL);
gtk_dialog_set_default_response (GTK_DIALOG (pref), GTK_RESPONSE_CLOSE);
gtk_container_set_border_width (GTK_CONTAINER (pref), 5);
gtk_window_set_resizable (GTK_WINDOW (pref), TRUE);
@@ -1130,7 +1130,7 @@ static void mateweather_pref_create(MateWeatherPref* pref)
pref->priv->find_next_btn = gtk_button_new_with_mnemonic (_("Find _Next"));
gtk_widget_set_sensitive (pref->priv->find_next_btn, FALSE);
- image = gtk_image_new_from_stock (GTK_STOCK_FIND, GTK_ICON_SIZE_BUTTON);
+ image = gtk_image_new_from_icon_name ("edit-find", GTK_ICON_SIZE_BUTTON);
gtk_button_set_image (GTK_BUTTON (pref->priv->find_next_btn), image);
g_signal_connect (G_OBJECT (pref->priv->find_next_btn), "clicked", G_CALLBACK (find_next_clicked), pref);