[Frugalware-git] gfpm: gfpm: Addedtwo buttons to the progress bar -
Details and Close
Priyank
priyank at frugalware.org
Sat Sep 8 13:17:07 CEST 2007
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=78521b6caf2981f36e7ce88072ac62417bf4e190
commit 78521b6caf2981f36e7ce88072ac62417bf4e190
Author: Priyank <priyank at frugalware.org>
Date: Sat Sep 8 15:59:22 2007 +0530
gfpm: Addedtwo buttons to the progress bar - Details and Close
* NOTE: for now, the close button will only hide the progress window, and not actually cancel the progress.
diff --git a/data/gfpm.glade b/data/gfpm.glade
index 68c75f1..3788094 100644
--- a/data/gfpm.glade
+++ b/data/gfpm.glade
@@ -506,12 +506,11 @@
</child>
</widget>
<widget class="GtkWindow" id="progresswindow">
- <property name="width_request">350</property>
- <property name="height_request">125</property>
<property name="title" translatable="yes">Gfpm</property>
- <property name="resizable">False</property>
+ <property name="modal">True</property>
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
+ <property name="urgency_hint">True</property>
<child>
<widget class="GtkVBox" id="vbox6">
<property name="visible">True</property>
@@ -550,6 +549,7 @@
</child>
<child>
<widget class="GtkProgressBar" id="progressbar1">
+ <property name="width_request">330</property>
<property name="visible">True</property>
<property name="show_text">True</property>
<property name="pulse_step">0.10000000149</property>
@@ -627,6 +627,66 @@
<property name="position">2</property>
</packing>
</child>
+ <child>
+ <widget class="GtkScrolledWindow" id="details_scrollwindow">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <child>
+ <widget class="GtkTextView" id="progress_txtvw">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="editable">False</property>
+ <property name="left_margin">1</property>
+ <property name="cursor_visible">False</property>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="padding">3</property>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox1">
+ <property name="visible">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <child>
+ <widget class="GtkToggleButton" id="show_details">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="label" translatable="yes">Details</property>
+ <property name="use_underline">True</property>
+ <property name="response_id">0</property>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkButton" id="close_progress">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
+ <property name="label" translatable="yes">gtk-close</property>
+ <property name="use_stock">True</property>
+ <property name="response_id">0</property>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">4</property>
+ </packing>
+ </child>
</widget>
</child>
</widget>
More information about the Frugalware-git
mailing list