[gnome-dictionary] src: Rename the menus UI definition file
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary] src: Rename the menus UI definition file
- Date: Mon, 30 Mar 2015 10:07:27 +0000 (UTC)
commit 872cc21c24da6ed8ded1354f47b2cf478e5aedfe
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sun Mar 8 16:42:46 2015 +0000
src: Rename the menus UI definition file
Follow the `gdict-` naming scheme.
po/POTFILES.in | 2 +-
...nome-dictionary-menus.ui => gdict-app-menus.ui} | 0
src/gdict-app.c | 2 +-
src/gdict.gresource.xml | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4f392dc..b53c77e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -2,7 +2,7 @@
# Please keep this file sorted alphabetically.
data/default.desktop.in
data/org.gnome.Dictionary.appdata.xml.in
-[type: gettext/glade]src/gnome-dictionary-menus.ui
+[type: gettext/glade]src/gdict-app-menus.ui
[type: gettext/glade]src/gnome-dictionary-preferences.ui
[type: gettext/glade]src/gdict-source-dialog.ui
data/org.gnome.Dictionary.desktop.in.in
diff --git a/src/gnome-dictionary-menus.ui b/src/gdict-app-menus.ui
similarity index 100%
rename from src/gnome-dictionary-menus.ui
rename to src/gdict-app-menus.ui
diff --git a/src/gdict-app.c b/src/gdict-app.c
index de4a82d..df90381 100644
--- a/src/gdict-app.c
+++ b/src/gdict-app.c
@@ -332,7 +332,7 @@ gdict_startup (GApplication *application,
app_entries, G_N_ELEMENTS (app_entries),
application);
- gtk_builder_add_from_resource (builder, "/org/gnome/Dictionary/gnome-dictionary-menus.ui", NULL);
+ gtk_builder_add_from_resource (builder, "/org/gnome/Dictionary/gdict-app-menus.ui", NULL);
gtk_application_set_menubar (GTK_APPLICATION (application),
G_MENU_MODEL (gtk_builder_get_object (builder, "menubar")));
diff --git a/src/gdict.gresource.xml b/src/gdict.gresource.xml
index 4022513..3eba7e3 100644
--- a/src/gdict.gresource.xml
+++ b/src/gdict.gresource.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/gnome/Dictionary">
- <file preprocess="xml-stripblanks">gnome-dictionary-menus.ui</file>
<file preprocess="xml-stripblanks">gnome-dictionary-preferences.ui</file>
+ <file preprocess="xml-stripblanks">gdict-app-menus.ui</file>
<file preprocess="xml-stripblanks">gdict-source-dialog.ui</file>
</gresource>
</gresources>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]