[gthumb] changed the always_show_image property for some commands
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] changed the always_show_image property for some commands
- Date: Thu, 19 Aug 2010 11:00:40 +0000 (UTC)
commit 5c8bd5dafefdc7261875027bc936c7c6846763b3
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Aug 18 18:57:42 2010 +0200
changed the always_show_image property for some commands
extensions/desktop_background/callbacks.c | 3 ---
extensions/edit_metadata/callbacks.c | 2 +-
extensions/file_manager/callbacks.c | 1 +
3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/extensions/desktop_background/callbacks.c b/extensions/desktop_background/callbacks.c
index 49fbc66..7c3bf6a 100644
--- a/extensions/desktop_background/callbacks.c
+++ b/extensions/desktop_background/callbacks.c
@@ -86,9 +86,6 @@ db__gth_browser_construct_cb (GthBrowser *browser)
g_clear_error (&error);
}
- gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (gtk_ui_manager_get_widget (gth_browser_get_ui_manager (browser), "/FileListPopup/Screen_Actions/DesktopBackground")), TRUE);
- gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (gtk_ui_manager_get_widget (gth_browser_get_ui_manager (browser), "/FilePopup/Screen_Actions/DesktopBackground")), TRUE);
-
g_object_set_data_full (G_OBJECT (browser), BROWSER_DATA_KEY, data, (GDestroyNotify) browser_data_free);
}
diff --git a/extensions/edit_metadata/callbacks.c b/extensions/edit_metadata/callbacks.c
index 2d3f2c6..c7d80ef 100644
--- a/extensions/edit_metadata/callbacks.c
+++ b/extensions/edit_metadata/callbacks.c
@@ -283,7 +283,7 @@ insert_tag_menu_item (BrowserData *data,
GtkWidget *image;
item = gtk_image_menu_item_new_with_label (tag);
- /*gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item), TRUE);*/
+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (item), TRUE);
image = gtk_image_new_from_icon_name ("tag", GTK_ICON_SIZE_MENU);
gtk_widget_show (image);
diff --git a/extensions/file_manager/callbacks.c b/extensions/file_manager/callbacks.c
index 89e13ce..b4cfb71 100644
--- a/extensions/file_manager/callbacks.c
+++ b/extensions/file_manager/callbacks.c
@@ -932,6 +932,7 @@ _gth_browser_update_open_menu (GthBrowser *browser,
pixbuf = gth_icon_cache_get_pixbuf (icon_cache, icon);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_item), gtk_image_new_from_pixbuf (pixbuf));
+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (menu_item), TRUE);
g_object_unref (pixbuf);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]