Commit 45293f17 authored by llyzs's avatar llyzs Committed by llyzs

A recent change in GNOME hides all icons in the applet menu by default. The...

A recent change in GNOME hides all icons in the applet menu by default. The applet menu are bookmarks and according to the guideline, it should always show the icons.

git-svn-id: https://remmina.svn.sourceforge.net/svnroot/remmina/trunk@39 b6cfa94a-2857-405c-b0d6-536ef9fc39e1
parent 9fd6c424
......@@ -208,6 +208,7 @@ remmina_applet_popup_menu_add_item (gpointer data, gpointer user_data)
"folder-remote" : "folder"), GTK_ICON_SIZE_MENU);
gtk_widget_show (image);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (appdata->menu_group_widget), image);
gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (appdata->menu_group_widget), TRUE);
submenu = gtk_menu_new ();
gtk_widget_show (submenu);
......
......@@ -137,6 +137,7 @@ remmina_applet_menu_item_new (RemminaAppletMenuItemType item_type, ...)
}
gtk_widget_show (widget);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), widget);
gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item), TRUE);
if (item->server)
{
......
......@@ -137,6 +137,7 @@ remmina_applet_menu_item_new (RemminaAppletMenuItemType item_type, ...)
}
gtk_widget_show (widget);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), widget);
gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item), TRUE);
if (item->server)
{
......
......@@ -199,6 +199,7 @@ remmina_xfce_plugin_popup_menu_add_item (gpointer data, gpointer user_data)
"folder-remote" : "folder"), GTK_ICON_SIZE_MENU);
gtk_widget_show (image);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (rxplugin->menu_group_widget), image);
gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (rxplugin->menu_group_widget), TRUE);
submenu = gtk_menu_new ();
gtk_widget_show (submenu);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment