forked from rhinstaller/anaconda
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Connect dialog inputs to default actions.
For the dialogs with relatively simple layouts (a single view with a set of inputs followed by OK/Cancel buttons), change the widget properties so that hitting enter in any of the inputs is equivalent to hitting the OK button.
- Loading branch information
Showing
4 changed files
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.18.3 --> | ||
<!-- Generated with glade 3.19.0 --> | ||
<interface> | ||
<requires lib="gtk+" version="3.2"/> | ||
<object class="GtkDialog" id="confirmDeleteDialog"> | ||
|
@@ -321,7 +321,7 @@ | |
<property name="label" translatable="yes" context="GUI|Custom Partitioning|Add Dialog">_Cancel</property> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="receives_default">False</property> | ||
<property name="halign">end</property> | ||
<property name="use_underline">True</property> | ||
</object> | ||
|
@@ -336,7 +336,9 @@ | |
<property name="label" translatable="yes" context="GUI|Custom Partitioning|Add Dialog">_Add mount point</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="has_default">True</property> | ||
<property name="receives_default">False</property> | ||
<property name="halign">end</property> | ||
<property name="use_underline">True</property> | ||
<signal name="clicked" handler="on_add_confirm_clicked" swapped="no"/> | ||
|
@@ -478,6 +480,7 @@ use. Try something else?</property> | |
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="tooltip_text" translatable="yes">eg: "20 GB", "500mb" (minus the quotation marks)</property> | ||
<property name="activates_default">True</property> | ||
</object> | ||
<packing> | ||
<property name="left_attach">1</property> | ||
|
@@ -493,6 +496,7 @@ use. Try something else?</property> | |
<object class="GtkEntry" id="comboboxtext-entry"> | ||
<property name="can_focus">True</property> | ||
<property name="buffer">mountPointEntryBuffer</property> | ||
<property name="activates_default">True</property> | ||
<property name="completion">mountPointCompletion</property> | ||
</object> | ||
</child> | ||
|
@@ -583,7 +587,7 @@ use. Try something else?</property> | |
<property name="label" translatable="yes" context="GUI|Custom Partitioning|Container Dialog">_Cancel</property> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="receives_default">True</property> | ||
<property name="receives_default">False</property> | ||
<property name="use_underline">True</property> | ||
</object> | ||
<packing> | ||
|
@@ -597,7 +601,10 @@ use. Try something else?</property> | |
<property name="label" translatable="yes" context="GUI|Custom Partitioning|Container Dialog">_Save</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="has_default">True</property> | ||
<property name="receives_default">False</property> | ||
<property name="halign">start</property> | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dashea
Author
Owner
|
||
<property name="use_underline">True</property> | ||
</object> | ||
<packing> | ||
|
@@ -672,6 +679,7 @@ use. Try something else?</property> | |
<object class="GtkEntry" id="container_name_entry"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="activates_default">True</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
|
@@ -907,6 +915,7 @@ use. Try something else?</property> | |
<object class="GtkEntry" id="containerSizeEntry"> | ||
<property name="visible">True</property> | ||
<property name="can_focus">True</property> | ||
<property name="activates_default">True</property> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Is this
halign
specification added intentionally?