summaryrefslogtreecommitdiff
path: root/command
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-03 18:03:50 +0100
committerraveit65 <[email protected]>2018-02-09 16:17:56 +0100
commit607d5228f3a280dd8acfcdaba7da7c83c496de32 (patch)
tree26f39957ef1935326935565892b98e4640ee9603 /command
parent94618cb836c3213e28c3d75fc6bc458bf6cd59b3 (diff)
downloadmate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.bz2
mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'command')
-rw-r--r--command/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/command/command.c b/command/command.c
index eadf5d28..6c499922 100644
--- a/command/command.c
+++ b/command/command.c
@@ -71,8 +71,8 @@ static void command_settings_callback (GtkAction *action, CommandApplet *command
static gboolean command_execute (CommandApplet *command_applet);
static const GtkActionEntry applet_menu_actions [] = {
- { "Preferences", GTK_STOCK_PROPERTIES, N_("_Preferences"), NULL, NULL, G_CALLBACK (command_settings_callback) },
- { "About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK (command_about_callback) }
+ { "Preferences", "document-properties", N_("_Preferences"), NULL, NULL, G_CALLBACK (command_settings_callback) },
+ { "About", "help-about", N_("_About"), NULL, NULL, G_CALLBACK (command_about_callback) }
};
static char *ui = "<menuitem name='Item 1' action='Preferences' />"
@@ -133,7 +133,7 @@ command_settings_callback (GtkAction *action, CommandApplet *command_applet)
dialog = GTK_DIALOG (gtk_dialog_new_with_buttons(_("Command Applet Preferences"),
NULL,
GTK_DIALOG_MODAL,
- GTK_STOCK_CLOSE,
+ "gtk-close",
GTK_RESPONSE_CLOSE,
NULL));
grid = GTK_GRID (gtk_grid_new ());