[gthumb] show the web services first in the share menu



commit fe5ac822415bc72ab20a7187594a1994033d64d3
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Sep 21 22:00:16 2010 +0200

    show the web services first in the share menu
    
    create the share menu before the share commands to respect the
    desired order; and create it after the list tools to show it
    as last menu in the toolbar.

 extensions/export_tools/main.c |    2 +-
 extensions/list_tools/main.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/export_tools/main.c b/extensions/export_tools/main.c
index 067f5dd..b2db6ac 100644
--- a/extensions/export_tools/main.c
+++ b/extensions/export_tools/main.c
@@ -29,7 +29,7 @@
 G_MODULE_EXPORT void
 gthumb_extension_activate (void)
 {
-	gth_hook_add_callback ("gth-browser-construct", 15, G_CALLBACK (export_tools__gth_browser_construct_cb), NULL);
+	gth_hook_add_callback ("gth-browser-construct", 7, G_CALLBACK (export_tools__gth_browser_construct_cb), NULL);
 }
 
 
diff --git a/extensions/list_tools/main.c b/extensions/list_tools/main.c
index 04549a7..3c3195f 100644
--- a/extensions/list_tools/main.c
+++ b/extensions/list_tools/main.c
@@ -29,7 +29,7 @@
 G_MODULE_EXPORT void
 gthumb_extension_activate (void)
 {
-	gth_hook_add_callback ("gth-browser-construct", 10, G_CALLBACK (list_tools__gth_browser_construct_cb), NULL);
+	gth_hook_add_callback ("gth-browser-construct", 5, G_CALLBACK (list_tools__gth_browser_construct_cb), NULL);
 	gth_hook_add_callback ("gth-browser-update-sensitivity", 10, G_CALLBACK (list_tools__gth_browser_update_sensitivity_cb), NULL);
 	gth_hook_add_callback ("gth-browser-file-list-key-press", 10, G_CALLBACK (list_tools__gth_browser_file_list_key_press_cb), NULL);
 }



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