summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2015-08-28 15:26:56 +0200
committerBastien Nocera <hadess@hadess.net>2015-09-01 16:45:34 +0200
commitfc4965df39fd19a24db5def57a7186b914edd667 (patch)
treecd013076e9d6cdb06fd926017530940908122d0c /tools
parentca2b98888ece03b9e0e5cb6449ae1c6d68c2f15e (diff)
downloadgrilo-fc4965df39fd19a24db5def57a7186b914edd667.tar.gz
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
Diffstat (limited to 'tools')
-rw-r--r--tools/grilo-test-ui/main.c10
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 }
};