[gtk+/composite-templates] Replaced GtkDialog and GtkMessageDialog template file extension with .ui
- From: Juan Pablo Ugarte <jpu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-templates] Replaced GtkDialog and GtkMessageDialog template file extension with .ui
- Date: Sun, 15 Jul 2012 22:15:29 +0000 (UTC)
commit 19116a338805a890ad6042629955c23bb46530b7
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date: Sun Jul 15 19:14:31 2012 -0300
Replaced GtkDialog and GtkMessageDialog template file extension with .ui
gtk/gtk.gresource.xml | 4 ++--
gtk/gtkdialog.c | 2 +-
gtk/{gtkdialog.tmpl.glade => gtkdialog.ui} | 0
gtk/gtkmessagedialog.c | 2 +-
...essagedialog.tmpl.glade => gtkmessagedialog.ui} | 0
5 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtk.gresource.xml b/gtk/gtk.gresource.xml
index fb90f36..d3deedb 100644
--- a/gtk/gtk.gresource.xml
+++ b/gtk/gtk.gresource.xml
@@ -11,7 +11,7 @@
<file alias="cursor/dnd-none.png">cursor_dnd_none.png</file>
<file alias="cursor/dnd-move.png">cursor_dnd_move.png</file>
<file alias="cursor/dnd-copy.png">cursor_dnd_copy.png</file>
- <file preprocess="xml-stripblanks">gtkdialog.tmpl.glade</file>
- <file preprocess="xml-stripblanks">gtkmessagedialog.tmpl.glade</file>
+ <file preprocess="xml-stripblanks">gtkdialog.ui</file>
+ <file preprocess="xml-stripblanks">gtkmessagedialog.ui</file>
</gresource>
</gresources>
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index d77406f..dbb5d2d 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -377,7 +377,7 @@ gtk_dialog_class_init (GtkDialogClass *class)
gtk_binding_entry_add_signal (binding_set, GDK_KEY_Escape, 0, "close", 0);
gtk_container_class_set_template (GTK_CONTAINER_CLASS (class),
- "/org/gtk/libgtk/gtkdialog.tmpl.glade",
+ "/org/gtk/libgtk/gtkdialog.ui",
GTK_CONTAINER_TEMPLATE_RESOURCE);
gtk_container_class_declare_internal_child (container_class, TRUE,
diff --git a/gtk/gtkdialog.tmpl.glade b/gtk/gtkdialog.ui
similarity index 100%
rename from gtk/gtkdialog.tmpl.glade
rename to gtk/gtkdialog.ui
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index e99f1b1..5f70742 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -292,7 +292,7 @@ gtk_message_dialog_class_init (GtkMessageDialogClass *class)
g_type_class_add_private (gobject_class, sizeof (GtkMessageDialogPrivate));
gtk_container_class_set_template (GTK_CONTAINER_CLASS (class),
- "/org/gtk/libgtk/gtkmessagedialog.tmpl.glade",
+ "/org/gtk/libgtk/gtkmessagedialog.ui",
GTK_CONTAINER_TEMPLATE_RESOURCE);
gtk_container_class_declare_internal_child (container_class, TRUE,
diff --git a/gtk/gtkmessagedialog.tmpl.glade b/gtk/gtkmessagedialog.ui
similarity index 100%
rename from gtk/gtkmessagedialog.tmpl.glade
rename to gtk/gtkmessagedialog.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]