[meld] Fix Patch and subsequent Save Patch dialog titles (bgo#699058)
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Fix Patch and subsequent Save Patch dialog titles (bgo#699058)
- Date: Sun, 28 Apr 2013 20:42:43 +0000 (UTC)
commit f65fd3c9b1d1a2731133f2397eeb770c9eae129c
Author: Kai Willadsen <kai willadsen gmail com>
Date: Mon Apr 29 06:33:45 2013 +1000
Fix Patch and subsequent Save Patch dialog titles (bgo#699058)
data/ui/patch-dialog.ui | 12 ++++++------
meld/patchdialog.py | 3 +--
2 files changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/data/ui/patch-dialog.ui b/data/ui/patch-dialog.ui
index ac4cdc0..271b652 100644
--- a/data/ui/patch-dialog.ui
+++ b/data/ui/patch-dialog.ui
@@ -5,7 +5,7 @@
<object class="GtkDialog" id="patchdialog">
<property name="visible">True</property>
<property name="border_width">12</property>
- <property name="title" translatable="yes">Create Patch</property>
+ <property name="title" translatable="yes">Format as Patch</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="skip_pager_hint">True</property>
@@ -18,7 +18,7 @@
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="xalign">0</property>
- <property name="label" translatable="yes">Format as Patch</property>
+ <property name="label" translatable="yes">Create a Patch</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
@@ -176,7 +176,7 @@
<property name="label" translatable="yes">Copy to Clipboard</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="receives_default">True</property>
+ <property name="can_default">True</property>
<property name="use_action_appearance">False</property>
</object>
<packing>
@@ -203,12 +203,12 @@
</child>
<child>
<object class="GtkButton" id="button7">
- <property name="label">gtk-save-as</property>
+ <property name="label" translatable="yes">Save Patch</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
- <property name="receives_default">False</property>
- <property name="use_stock">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_action_appearance">False</property>
</object>
<packing>
<property name="expand">False</property>
diff --git a/meld/patchdialog.py b/meld/patchdialog.py
index 3f474bd..719ff06 100644
--- a/meld/patchdialog.py
+++ b/meld/patchdialog.py
@@ -121,10 +121,9 @@ class PatchDialog(gnomeglade.Component):
else:
# FIXME: These filediff methods are actually general utility.
filename = self.filediff._get_filename_for_saving(
- _("Save Patch As..."))
+ _("Save Patch"))
if filename:
self.filediff._save_text_to_filename(filename, txt)
break
self.widget.hide()
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]