[grilo/0.2.x: 8/20] grilo-test-ui: Fix warning about deprecated gtk-menu-images
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo/0.2.x: 8/20] grilo-test-ui: Fix warning about deprecated gtk-menu-images
- Date: Mon, 7 Sep 2015 07:56:02 +0000 (UTC)
commit 0535e319a549c96ffa7c956813fa4a03db41c808
Author: Bastien Nocera <hadess hadess net>
Date: Fri Aug 28 15:26:56 2015 +0200
grilo-test-ui: Fix warning about deprecated gtk-menu-images
Menus don't use images in recent versions of GTK+:
The property GtkSettings:gtk-menu-images is deprecated and shouldn't be used anymore. It will be removed
in a future version.
Remove the icons from the menu items.
https://bugzilla.gnome.org/show_bug.cgi?id=754401
tools/grilo-test-ui/main.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tools/grilo-test-ui/main.c b/tools/grilo-test-ui/main.c
index 17d1243..eb93593 100644
--- a/tools/grilo-test-ui/main.c
+++ b/tools/grilo-test-ui/main.c
@@ -231,19 +231,19 @@ static void content_changed_cb (GrlSource *source,
static GtkActionEntry entries[] = {
{ "FileMenuAction", NULL, "_File" },
#ifdef HAVE_OAUTH
- { "AuthorizeFlickrAction", GTK_STOCK_CONNECT, "_Authorize Flickr", NULL,
+ { "AuthorizeFlickrAction", NULL, "_Authorize Flickr", NULL,
"AuthorizeFlickr", G_CALLBACK (authorize_flickr_cb) },
#endif
- { "ShutdownPluginsAction", GTK_STOCK_REFRESH, "_Shutdown Plugins", NULL,
+ { "ShutdownPluginsAction", NULL, "_Shutdown Plugins", NULL,
"ShutdownPlugins", G_CALLBACK (shutdown_plugins_cb) },
- { "LoadAllPluginsAction", GTK_STOCK_REFRESH, "_Load All Plugins", NULL,
+ { "LoadAllPluginsAction", NULL, "_Load All Plugins", NULL,
"LoadAllPlugins", G_CALLBACK (load_all_plugins_cb) },
- { "QuitAction", GTK_STOCK_QUIT, "_Quit", "<control>Q",
+ { "QuitAction", NULL, "_Quit", "<control>Q",
"Quit", G_CALLBACK (quit_cb) }
};
static GtkToggleActionEntry toggle_entries[] = {
- { "ChangesNotificationAction", GTK_STOCK_FIND, "_Changes notification", NULL,
+ { "ChangesNotificationAction", NULL, "_Changes notification", NULL,
"ChangesNotification", G_CALLBACK (changes_notification_cb), FALSE }
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]