diff options
author | Chris Lumens <clumens@redhat.com> | 2008-07-22 12:59:27 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2008-07-22 15:58:24 -0400 |
commit | 1b632ee2e4c64148a942db567f4e4ef6de6af571 (patch) | |
tree | 2156deece62ca7bf17f44d9c0409a54813a1bbae /ui/exnSave.glade | |
parent | b7ce023c6c33ad8974df25e72f1c99c3b0e75dcf (diff) | |
download | anaconda-1b632ee2e4c64148a942db567f4e4ef6de6af571.tar.gz anaconda-1b632ee2e4c64148a942db567f4e4ef6de6af571.tar.xz anaconda-1b632ee2e4c64148a942db567f4e4ef6de6af571.zip |
Add support for filing tracebacks directly into bugzilla.
This patch adds support for save to bugzilla, using the python-bugzilla module.
We get the bugzilla URL from product.bugUrl and require the user to already
have a valid account with that bugzilla instance. That should cut down on
potential abuse.
To cut down on the number of possible duplicates, we hash the file name,
function name, and line of each frame in the traceback and store that hash in
the bug itself. Before filing a new bug, we query for any bugs containing that
hash value. If found, we simply add the traceback as a new attachment and put
the user on the CC list. If not found, we create a new bug. Either way, the
user is encouraged to visit their bug and make a more meaningful comment.
Diffstat (limited to 'ui/exnSave.glade')
-rw-r--r-- | ui/exnSave.glade | 52 |
1 files changed, 48 insertions, 4 deletions
diff --git a/ui/exnSave.glade b/ui/exnSave.glade index 0bab909cd..6c22e2fb9 100644 --- a/ui/exnSave.glade +++ b/ui/exnSave.glade @@ -273,8 +273,8 @@ <child> <widget class="GtkLabel" id="label4"> <property name="visible">True</property> - <property name="label">User name</property> - <property name="use_underline">False</property> + <property name="label">_User name</property> + <property name="use_underline">True</property> <property name="use_markup">False</property> <property name="justify">GTK_JUSTIFY_LEFT</property> <property name="wrap">False</property> @@ -298,8 +298,8 @@ <child> <widget class="GtkLabel" id="label5"> <property name="visible">True</property> - <property name="label">Password</property> - <property name="use_underline">False</property> + <property name="label">_Password</property> + <property name="use_underline">True</property> <property name="use_markup">False</property> <property name="justify">GTK_JUSTIFY_LEFT</property> <property name="wrap">False</property> @@ -319,6 +319,31 @@ <property name="fill">True</property> </packing> </child> + + <child> + <widget class="GtkLabel" id="label7"> + <property name="visible">True</property> + <property name="label" translatable="yes">_Bug description</property> + <property name="use_underline">True</property> + <property name="use_markup">False</property> + <property name="justify">GTK_JUSTIFY_LEFT</property> + <property name="wrap">False</property> + <property name="selectable">False</property> + <property name="xalign">0.5</property> + <property name="yalign">0.5</property> + <property name="xpad">0</property> + <property name="ypad">0</property> + <property name="ellipsize">PANGO_ELLIPSIZE_NONE</property> + <property name="width_chars">-1</property> + <property name="single_line_mode">False</property> + <property name="angle">0</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> </widget> <packing> <property name="padding">0</property> @@ -371,6 +396,25 @@ <property name="fill">True</property> </packing> </child> + + <child> + <widget class="GtkEntry" id="bugDesc"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="editable">True</property> + <property name="visibility">True</property> + <property name="max_length">0</property> + <property name="text" translatable="yes"></property> + <property name="has_frame">True</property> + <property name="invisible_char">•</property> + <property name="activates_default">False</property> + </widget> + <packing> + <property name="padding">0</property> + <property name="expand">False</property> + <property name="fill">False</property> + </packing> + </child> </widget> <packing> <property name="padding">0</property> |