From 607d5228f3a280dd8acfcdaba7da7c83c496de32 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 3 Feb 2018 18:03:50 +0100 Subject: avoid deprecated GtkStock --- command/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'command') 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 = "" @@ -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 ()); -- cgit v1.2.1