diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-08 16:07:14 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-10-08 16:07:14 +0200 |
| commit | e6f8f27e67c99cb8daa44cadcf01257d4f269108 (patch) | |
| tree | 555fbeec2a94230aca86280c31a5bdcf80d10f9a /lib | |
| parent | a1330d4f0271e5a22f1764302b18bf5e1665a68e (diff) | |
| download | abrt-e6f8f27e67c99cb8daa44cadcf01257d4f269108.tar.gz abrt-e6f8f27e67c99cb8daa44cadcf01257d4f269108.tar.xz abrt-e6f8f27e67c99cb8daa44cadcf01257d4f269108.zip | |
GUI: added option to show password in plugin settings gui
- if there is an entry with visibility set to False and
toggle button called the same name as entry, we make the
toggle button to reveal the password in respective entry
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Plugins/Bugzilla.GTKBuilder | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/lib/Plugins/Bugzilla.GTKBuilder b/lib/Plugins/Bugzilla.GTKBuilder index 2c2d63c..998dc73 100644 --- a/lib/Plugins/Bugzilla.GTKBuilder +++ b/lib/Plugins/Bugzilla.GTKBuilder @@ -4,6 +4,8 @@ <!-- interface-naming-policy project-wide --> <object class="GtkDialog" id="PluginDialog"> <property name="border_width">5</property> + <property name="modal">True</property> + <property name="window_position">center-on-parent</property> <property name="type_hint">normal</property> <property name="has_separator">False</property> <child internal-child="vbox"> @@ -27,7 +29,7 @@ <child> <object class="GtkTable" id="table1"> <property name="visible">True</property> - <property name="n_rows">3</property> + <property name="n_rows">4</property> <property name="n_columns">2</property> <child> <object class="GtkLabel" id="lBugzillaURL"> @@ -93,6 +95,24 @@ <property name="bottom_attach">3</property> </packing> </child> + <child> + <object class="GtkCheckButton" id="cb_Password"> + <property name="label" translatable="yes">Show password</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + </packing> + </child> + <child> + <placeholder/> + </child> </object> <packing> <property name="position">1</property> |
