[gthumb] set the print command as important, and find as not important



commit c78a79d5f650c858612b2d93b6466c457e5c00f4
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Jun 28 19:39:03 2010 +0200

    set the print command as important, and find as not important

 extensions/image_print/callbacks.c |    1 +
 extensions/search/callbacks.c      |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/extensions/image_print/callbacks.c b/extensions/image_print/callbacks.c
index ebb7856..c16dca6 100644
--- a/extensions/image_print/callbacks.c
+++ b/extensions/image_print/callbacks.c
@@ -93,6 +93,7 @@ ip__gth_browser_construct_cb (GthBrowser *browser)
 		g_warning ("building ui failed: %s", error->message);
 		g_error_free (error);
 	}
+	gtk_tool_item_set_is_important (GTK_TOOL_ITEM (gtk_ui_manager_get_widget (gth_browser_get_ui_manager (browser), "/ToolBar/Export_Actions/File_Print")), TRUE);
 
 	g_object_set_data_full (G_OBJECT (browser), BROWSER_DATA_KEY, data, (GDestroyNotify) browser_data_free);
 }
diff --git a/extensions/search/callbacks.c b/extensions/search/callbacks.c
index 007dd95..e7de352 100644
--- a/extensions/search/callbacks.c
+++ b/extensions/search/callbacks.c
@@ -99,7 +99,7 @@ search__gth_browser_construct_cb (GthBrowser *browser)
 		g_warning ("building menus failed: %s", error->message);
 		g_error_free (error);
 	}
-	gtk_tool_item_set_is_important (GTK_TOOL_ITEM (gtk_ui_manager_get_widget (gth_browser_get_ui_manager (browser), "/ToolBar/SourceCommands/Edit_Find")), TRUE);
+	/*gtk_tool_item_set_is_important (GTK_TOOL_ITEM (gtk_ui_manager_get_widget (gth_browser_get_ui_manager (browser), "/ToolBar/SourceCommands/Edit_Find")), TRUE);*/
 
 	g_object_set_data_full (G_OBJECT (browser), BROWSER_DATA_KEY, data, (GDestroyNotify) browser_data_free);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]