[orca] Remove double "Remove User Profile" label in dialog
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Remove double "Remove User Profile" label in dialog
- Date: Wed, 6 Jan 2021 16:03:12 +0000 (UTC)
commit dc2eb701e1cac756da8a82befa746631870e3d4f
Author: Daniel W. Steinbrook <steinbro post harvard edu>
Date: Fri Jan 1 16:18:03 2021 -0500
Remove double "Remove User Profile" label in dialog
Increase consistency between load/remove profile dialogs.
Fixes #146
src/orca/guilabels.py | 8 --------
src/orca/orca_gui_prefs.py | 1 -
2 files changed, 9 deletions(-)
---
diff --git a/src/orca/guilabels.py b/src/orca/guilabels.py
index cd78dd6d9..5ac6521d0 100644
--- a/src/orca/guilabels.py
+++ b/src/orca/guilabels.py
@@ -386,14 +386,6 @@ PROFILE_SAVE_AS_TITLE = _("Save Profile As")
# name of a new settings profile being saved via the 'Save Profile As' dialog.
PROFILE_NAME_LABEL = _("_Profile Name:")
-# Translators: Profiles in Orca make it possible for users to quickly switch
-# amongst a group of pre-defined settings (e.g. an 'English' profile for reading
-# text written in English using an English-language speech synthesizer and
-# braille rules, and a similar 'Spanish' profile for reading Spanish text.
-# The following is a title in a dialog informing the user that he/she
-# is about to remove a user profile, and action that cannot be undone.
-PROFILE_REMOVE_TITLE = _("Remove User Profile")
-
# Translators: Profiles in Orca make it possible for users to quickly switch
# amongst a group of pre-defined settings (e.g. an 'English' profile for reading
# text written in English using an English-language speech synthesizer and
diff --git a/src/orca/orca_gui_prefs.py b/src/orca/orca_gui_prefs.py
index e25455bdd..4255eb8a2 100644
--- a/src/orca/orca_gui_prefs.py
+++ b/src/orca/orca_gui_prefs.py
@@ -3402,7 +3402,6 @@ class OrcaSetupGUI(orca_gtkbuilder.GtkBuilderWrapper):
buttons=Gtk.ButtonsType.YES_NO)
dialog.set_markup("<b>%s</b>" % guilabels.PROFILE_REMOVE_LABEL)
dialog.format_secondary_markup(message)
- dialog.set_title(guilabels.PROFILE_REMOVE_TITLE)
if dialog.run() == Gtk.ResponseType.YES:
# If we remove the currently used starting profile, fallback on
# the first listed profile, or the default one if there's
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]