diff options
author | Chris Lumens <clumens@exeter.boston.redhat.com> | 2007-11-06 13:12:30 -0500 |
---|---|---|
committer | Chris Lumens <clumens@exeter.boston.redhat.com> | 2007-11-06 13:12:30 -0500 |
commit | 65d3d6e4f3b907e5940fdd78434a01af16775b83 (patch) | |
tree | 6ab4c2e8ff9705094b51a289e1d176547a5830e5 /ui | |
parent | 817e0e790b97064002ea0e9e6b18b98810cf53e7 (diff) | |
download | anaconda-65d3d6e4f3b907e5940fdd78434a01af16775b83.tar.gz anaconda-65d3d6e4f3b907e5940fdd78434a01af16775b83.tar.xz anaconda-65d3d6e4f3b907e5940fdd78434a01af16775b83.zip |
Convert the ExceptionDialog into a generic widget.
Take the ExceptionDialog code and convert it into a generic widget like
MessageDialog that is capable of displaying more information inside an
expander. Then use that in the exception handler. Still need to do the
text mode equivalent.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/detailed-dialog.glade (renamed from ui/exn.glade) | 63 |
1 files changed, 8 insertions, 55 deletions
diff --git a/ui/exn.glade b/ui/detailed-dialog.glade index a41bbf8dd..7c69656a9 100644 --- a/ui/exn.glade +++ b/ui/detailed-dialog.glade @@ -3,9 +3,9 @@ <glade-interface> -<widget class="GtkDialog" id="exnDialog"> +<widget class="GtkDialog" id="detailedDialog"> <property name="visible">True</property> - <property name="title">Exception Occurred</property> + <property name="title"></property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="window_position">GTK_WIN_POS_CENTER</property> <property name="modal">True</property> @@ -23,7 +23,7 @@ <property name="has_separator">True</property> <child internal-child="vbox"> - <widget class="GtkVBox" id="exnDialog-vbox"> + <widget class="GtkVBox" id="detailedDialog-vbox"> <property name="visible">True</property> <property name="homogeneous">False</property> <property name="spacing">12</property> @@ -32,42 +32,6 @@ <widget class="GtkHButtonBox" id="buttonBox"> <property name="visible">True</property> <property name="layout_style">GTK_BUTTONBOX_END</property> - - <child> - <widget class="GtkButton" id="saveButton"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label">gtk-save</property> - <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="focus_on_click">True</property> - <property name="response_id">1</property> - </widget> - </child> - - <child> - <widget class="GtkButton" id="debugButton"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label" translatable="yes">_Debug</property> - <property name="use_underline">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="focus_on_click">True</property> - <property name="response_id">0</property> - </widget> - </child> - - <child> - <widget class="GtkButton" id="okButton"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="label">gtk-ok</property> - <property name="use_stock">True</property> - <property name="relief">GTK_RELIEF_NORMAL</property> - <property name="focus_on_click">True</property> - <property name="response_id">2</property> - </widget> - </child> </widget> <packing> <property name="padding">0</property> @@ -90,24 +54,13 @@ <property name="spacing">6</property> <child> - <widget class="GtkImage" id="infoImage"> - <property name="visible">True</property> - <property name="xalign">0.5</property> - <property name="yalign">0.5</property> - <property name="xpad">0</property> - <property name="ypad">0</property> - </widget> - <packing> - <property name="padding">0</property> - <property name="expand">False</property> - <property name="fill">True</property> - </packing> + <placeholder/> </child> <child> <widget class="GtkLabel" id="info"> <property name="visible">True</property> - <property name="label" translatable="yes">Exception Info</property> + <property name="label" translatable="yes">Info</property> <property name="use_underline">False</property> <property name="use_markup">False</property> <property name="justify">GTK_JUSTIFY_LEFT</property> @@ -137,7 +90,7 @@ </child> <child> - <widget class="GtkExpander" id="exnExpander"> + <widget class="GtkExpander" id="detailedExpander"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="expanded">False</property> @@ -153,7 +106,7 @@ <property name="window_placement">GTK_CORNER_TOP_LEFT</property> <child> - <widget class="GtkTextView" id="exnView"> + <widget class="GtkTextView" id="detailedView"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">False</property> @@ -177,7 +130,7 @@ <child> <widget class="GtkLabel" id="label1"> <property name="visible">True</property> - <property name="label" translatable="yes">_Exception details</property> + <property name="label" translatable="yes">_Details</property> <property name="use_underline">True</property> <property name="use_markup">False</property> <property name="justify">GTK_JUSTIFY_LEFT</property> |