[eog] Revert "Removing any reference to *glade."



commit 77c9d63062e17eb69a8de28be25e67a22ff3ad5d
Author: Baptiste Mille-Mathias <baptiste millemathias gmail com>
Date:   Mon Nov 15 22:05:35 2010 +0100

    Revert "Removing any reference to *glade."
    
    This reverts commit 8dcfe6669500a15b11e15321c64d5b8ed756d715.

 README           |    4 ++--
 src/eog-dialog.c |    8 ++++----
 src/eog-dialog.h |    4 ++--
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/README b/README
index 2683fd5..ad05fab 100644
--- a/README
+++ b/README
@@ -19,8 +19,8 @@ Requirements
 ------------
 
 This package requires the following modules to be installed: glib,
-GTK+, gconf, gnome-desktop, gio, gdk-pixbuf, gnome-icon-theme,
-shared-mime-info and libart.
+GTK+, libgnomeui, libglade, gconf, gnome-desktop, gio, gdk-pixbuf,
+gnome-icon-theme, shared-mime-info, libart, and libglade.
 
 You can get these packages from your favourite GNOME FTP mirror or at
 http://download.gnome.org/sources or from other sources where GNOME
diff --git a/src/eog-dialog.c b/src/eog-dialog.c
index 688161b..0082ee9 100644
--- a/src/eog-dialog.c
+++ b/src/eog-dialog.c
@@ -47,7 +47,7 @@ struct _EogDialogPrivate {
 
 static void
 eog_dialog_construct_impl (EogDialog   *dialog,
-			   const gchar *ui_file,
+			   const gchar *glade_file,
 			   const gchar *dlg_node)
 {
 	EogDialogPrivate *priv;
@@ -58,7 +58,7 @@ eog_dialog_construct_impl (EogDialog   *dialog,
 
 	priv = dialog->priv;
 
-	filename = g_build_filename (EOG_DATA_DIR, ui_file, NULL);
+	filename = g_build_filename (EOG_DATA_DIR, glade_file, NULL);
 
 	priv->xml = gtk_builder_new ();
 	gtk_builder_set_translation_domain (priv->xml, GETTEXT_PACKAGE);
@@ -187,11 +187,11 @@ eog_dialog_init (EogDialog *dialog)
 
 void
 eog_dialog_construct (EogDialog   *dialog,
-		      const gchar *ui_file,
+		      const gchar *glade_file,
 		      const gchar *dlg_node)
 {
 	EogDialogClass *klass = EOG_DIALOG_GET_CLASS (dialog);
-	klass->construct (dialog, ui_file, dlg_node);
+	klass->construct (dialog, glade_file, dlg_node);
 }
 
 void
diff --git a/src/eog-dialog.h b/src/eog-dialog.h
index 00d1bb4..f27b5f2 100644
--- a/src/eog-dialog.h
+++ b/src/eog-dialog.h
@@ -49,7 +49,7 @@ struct _EogDialogClass {
 	GObjectClass parent_class;
 
 	void    (* construct)   (EogDialog   *dialog,
-				 const gchar *ui_file,
+				 const gchar *glade_file,
 				 const gchar *dlg_node);
 
 	void    (* show)        (EogDialog   *dialog);
@@ -60,7 +60,7 @@ struct _EogDialogClass {
 GType   eog_dialog_get_type      (void) G_GNUC_CONST;
 
 void    eog_dialog_construct     (EogDialog   *dialog,
-				  const gchar *ui_file,
+				  const gchar *glade_file,
 				  const gchar *dlg_node);
 
 void    eog_dialog_show	         (EogDialog *dialog);



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