[gnome-software/wip/william/cherry-pick] Rename .glade file to .ui
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/william/cherry-pick] Rename .glade file to .ui
- Date: Mon, 23 May 2016 10:17:59 +0000 (UTC)
commit dacfe7f78f3b090f8860f15edf27d9b825b6e318
Author: Robert Ancell <robert ancell canonical com>
Date: Wed Feb 10 09:10:06 2016 +1300
Rename .glade file to .ui
src/gnome-software.gresource.xml | 2 +-
src/plugins/ubuntu-login-dialog.c | 2 +-
...u-login-dialog.glade => ubuntu-login-dialog.ui} | 0
3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-software.gresource.xml b/src/gnome-software.gresource.xml
index b09e024..6559873 100644
--- a/src/gnome-software.gresource.xml
+++ b/src/gnome-software.gresource.xml
@@ -35,6 +35,6 @@
<file>gtk-style.css</file>
<file>gtk-style-hc.css</file>
<file>plugins/ubuntu-one.png</file>
- <file preprocess="xml-stripblanks">plugins/ubuntu-login-dialog.glade</file>
+ <file preprocess="xml-stripblanks">plugins/ubuntu-login-dialog.ui</file>
</gresource>
</gresources>
diff --git a/src/plugins/ubuntu-login-dialog.c b/src/plugins/ubuntu-login-dialog.c
index 747a10c..2c6395e 100644
--- a/src/plugins/ubuntu-login-dialog.c
+++ b/src/plugins/ubuntu-login-dialog.c
@@ -528,7 +528,7 @@ remember_check_toggled_cb (UbuntuLoginDialog *self,
static void
ubuntu_login_dialog_init (UbuntuLoginDialog *self)
{
- self->builder = gtk_builder_new_from_resource ("/org/gnome/Software/plugins/ubuntu-login-dialog.glade");
+ self->builder = gtk_builder_new_from_resource ("/org/gnome/Software/plugins/ubuntu-login-dialog.ui");
self->content_box = GTK_WIDGET (gtk_builder_get_object (self->builder, "content-box"));
self->cancel_button = GTK_WIDGET (gtk_builder_get_object (self->builder, "cancel-button"));
self->next_button = GTK_WIDGET (gtk_builder_get_object (self->builder, "next-button"));
diff --git a/src/plugins/ubuntu-login-dialog.glade b/src/plugins/ubuntu-login-dialog.ui
similarity index 100%
rename from src/plugins/ubuntu-login-dialog.glade
rename to src/plugins/ubuntu-login-dialog.ui
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]