[Xfce4-commits] <terminal:master> Rename the glade files to ui.

Nick Schermer noreply at xfce.org
Thu Oct 8 11:58:01 CEST 2009


Updating branch refs/heads/master
         to a40f633f97c71c3b21383c2954ecd31fa9895ec6 (commit)
       from 5c955bb0435dca6d7114903d246cf2e4a215cc5e (commit)

commit a40f633f97c71c3b21383c2954ecd31fa9895ec6
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Oct 8 11:54:06 2009 +0200

    Rename the glade files to ui.

 Makefile.am                            |    2 +-
 Terminal.glade => Terminal.ui          |    0
 po/POTFILES.in                         |    2 +-
 terminal/terminal-preferences-dialog.c |    6 +++---
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index e68aaea..44edb31 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -34,7 +34,7 @@ man_MANS = Terminal.1
 uidir = $(datadir)/Terminal
 ui_DATA = \
 	Terminal-toolbars.ui \
-	Terminal.glade
+	Terminal.ui
 
 EXTRA_DIST = \
 	HACKING \
diff --git a/Terminal.glade b/Terminal.ui
similarity index 100%
rename from Terminal.glade
rename to Terminal.ui
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 616163a..6ffc89e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -15,4 +15,4 @@ terminal/terminal-widget.c
 terminal/terminal-window.c
 
 Terminal.desktop.in
-Terminal.glade
+Terminal.ui
diff --git a/terminal/terminal-preferences-dialog.c b/terminal/terminal-preferences-dialog.c
index c3bc2cf..2944e3d 100644
--- a/terminal/terminal-preferences-dialog.c
+++ b/terminal/terminal-preferences-dialog.c
@@ -110,9 +110,9 @@ terminal_preferences_dialog_init (TerminalPreferencesDialog *dialog)
   if (xfce_titled_dialog_get_type () == 0)
     return;
 
-  /* lookup the glade file */
+  /* lookup the ui file */
   xfce_resource_push_path (XFCE_RESOURCE_DATA, DATADIR);
-  file = xfce_resource_lookup (XFCE_RESOURCE_DATA, "Terminal/Terminal.glade");
+  file = xfce_resource_lookup (XFCE_RESOURCE_DATA, "Terminal/Terminal.ui");
   xfce_resource_pop_path (XFCE_RESOURCE_DATA);
 
   if (G_UNLIKELY (file == NULL))
@@ -125,7 +125,7 @@ terminal_preferences_dialog_init (TerminalPreferencesDialog *dialog)
   if (gtk_builder_add_from_file (GTK_BUILDER (dialog), file, &error) == 0)
     {
 error:
-      g_critical ("Failed to load glade file: %s.", error->message);
+      g_critical ("Failed to load ui file: %s.", error->message);
       g_error_free (error);
       return;
     }



More information about the Xfce4-commits mailing list