This is an automated email from the git hooks/post-receive script.

bluesabre pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-places-plugin.

commit 496f9cca631d96c93511e4fb509a2a5954e8c8c2
Author: Sean Davis <[email protected]>
Date:   Sat Apr 20 07:46:01 2019 -0400

    Replace deprecated GtkStock
---
 panel-plugin/cfg.c  | 4 ++--
 panel-plugin/view.c | 4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/panel-plugin/cfg.c b/panel-plugin/cfg.c
index bb64017..e3effc8 100644
--- a/panel-plugin/cfg.c
+++ b/panel-plugin/cfg.c
@@ -403,10 +403,10 @@ pcfg_make_empty_dialog(PlacesCfg *cfg)
 
     xfce_panel_plugin_block_menu(cfg->plugin);
 
-    dlg = xfce_titled_dialog_new_with_buttons(_("Places"),
+    dlg = xfce_titled_dialog_new_with_mixed_buttons(_("Places"),
               NULL,
               GTK_DIALOG_DESTROY_WITH_PARENT,
-              GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT, NULL);
+              "gtk-close", _("Close"), GTK_RESPONSE_ACCEPT, NULL);
 
     gtk_window_set_position(GTK_WINDOW(dlg), GTK_WIN_POS_CENTER);
     gtk_window_set_icon_name(GTK_WINDOW(dlg), "xfce4-settings");
diff --git a/panel-plugin/view.c b/panel-plugin/view.c
index c17adea..cde4931 100644
--- a/panel-plugin/view.c
+++ b/panel-plugin/view.c
@@ -681,9 +681,7 @@ pview_update_menu(PlacesView *pd)
                 clear_item = 
gtk_image_menu_item_new_from_stock(GTK_STOCK_CLEAR, NULL);
                 G_GNUC_END_IGNORE_DEPRECATIONS
             }else{
-                GtkStockItem clear_stock_item;
-                gtk_stock_lookup(GTK_STOCK_CLEAR, &clear_stock_item);
-                clear_item = 
gtk_menu_item_new_with_mnemonic(clear_stock_item.label);
+                clear_item = gtk_menu_item_new_with_mnemonic(_("_Clear"));
             }
 
             gtk_menu_shell_append(GTK_MENU_SHELL(recent_menu), clear_item);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to