[gthumb: 15/24] .ui files not loaded correctly when --enable-run-in-place is used



commit 993e11dc6639deb2627656a9f32c8feb144b8ab6
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sun Nov 14 11:16:38 2010 +0100

    .ui files not loaded correctly when --enable-run-in-place is used
    
    the second argument of the _gtk_builder_new_from_file
    is the extension folder.

 extensions/copy_move_to_folder/dlg-copy-complete.c |    2 +-
 .../dlg-copy-move-to-folder-preferences.c          |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/copy_move_to_folder/dlg-copy-complete.c b/extensions/copy_move_to_folder/dlg-copy-complete.c
index 5e5987c..f51ae7a 100644
--- a/extensions/copy_move_to_folder/dlg-copy-complete.c
+++ b/extensions/copy_move_to_folder/dlg-copy-complete.c
@@ -87,7 +87,7 @@ dlg_copy_complete (GthBrowser *browser,
 		data->location = g_file_dup(location);
 		data->browser = browser;
 		g_object_ref(browser);
-		data->builder = _gtk_builder_new_from_file ("copy-move-to-folder-copy-complete.ui", "copy_move_to_folder_copy_complete");
+		data->builder = _gtk_builder_new_from_file ("copy-move-to-folder-copy-complete.ui", "copy_move_to_folder");
 		data->dialog = GET_WIDGET ("completed_messagedialog");
 
 		g_signal_connect (G_OBJECT (data->dialog),
diff --git a/extensions/copy_move_to_folder/dlg-copy-move-to-folder-preferences.c b/extensions/copy_move_to_folder/dlg-copy-move-to-folder-preferences.c
index f93d2d1..2728995 100644
--- a/extensions/copy_move_to_folder/dlg-copy-move-to-folder-preferences.c
+++ b/extensions/copy_move_to_folder/dlg-copy-move-to-folder-preferences.c
@@ -54,7 +54,7 @@ dlg_copy_move_to_folder_preferences (GtkWindow *parent)
 	DialogData *data;
 
 	data = g_new0 (DialogData, 1);
-	data->builder = _gtk_builder_new_from_file ("copy-move-to-folder-preferences.ui", "copy-move-to-folder");
+	data->builder = _gtk_builder_new_from_file ("copy-move-to-folder-preferences.ui", "copy_move_to_folder");
 
 	/* Get the widgets. */
 



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