[alacarte] ItemEditor: Make the dialog names the same
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [alacarte] ItemEditor: Make the dialog names the same
- Date: Fri, 11 Jan 2013 06:40:39 +0000 (UTC)
commit 75717fc6adc9d3e53267a840a8211bd1fb854be2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Jan 11 01:36:15 2013 -0500
ItemEditor: Make the dialog names the same
Alacarte/ItemEditor.py | 4 ++--
data/directory-editor.ui | 2 +-
data/launcher-editor.ui | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Alacarte/ItemEditor.py b/Alacarte/ItemEditor.py
index 5374c53..a41ab59 100644
--- a/Alacarte/ItemEditor.py
+++ b/Alacarte/ItemEditor.py
@@ -145,7 +145,7 @@ class LauncherEditor(ItemEditor):
self.builder = Gtk.Builder()
self.builder.add_from_file(os.path.join(config.pkgdatadir, 'launcher-editor.ui'))
- self.dialog = self.builder.get_object('launcher-editor')
+ self.dialog = self.builder.get_object('editor')
self.dialog.set_transient_for(parent)
self.dialog.connect('response', self.on_response)
@@ -199,7 +199,7 @@ class DirectoryEditor(ItemEditor):
self.builder = Gtk.Builder()
self.builder.add_from_file(os.path.join(config.pkgdatadir, 'directory-editor.ui'))
- self.dialog = self.builder.get_object('directory-editor')
+ self.dialog = self.builder.get_object('editor')
self.dialog.set_transient_for(parent)
self.dialog.connect('response', self.on_response)
diff --git a/data/directory-editor.ui b/data/directory-editor.ui
index 8203855..ee69b39 100644
--- a/data/directory-editor.ui
+++ b/data/directory-editor.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkDialog" id="directory-editor">
+ <object class="GtkDialog" id="editor">
<property name="can_focus">False</property>
<property name="border_width">4</property>
<property name="title" translatable="yes">Directory Properties</property>
diff --git a/data/launcher-editor.ui b/data/launcher-editor.ui
index 0d7fab6..408b40a 100644
--- a/data/launcher-editor.ui
+++ b/data/launcher-editor.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
- <object class="GtkDialog" id="launcher-editor">
+ <object class="GtkDialog" id="editor">
<property name="can_focus">False</property>
<property name="border_width">4</property>
<property name="title" translatable="yes">Launcher Properties</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]