Skip to content

Instantly share code, notes, and snippets.

@zhangsen
Created July 19, 2010 02:26
Show Gist options
  • Save zhangsen/480942 to your computer and use it in GitHub Desktop.
Save zhangsen/480942 to your computer and use it in GitHub Desktop.
diff --git a/upgrade.glade b/upgrade.glade
index 91d6bd5..de069b6 100644
--- a/upgrade.glade
+++ b/upgrade.glade
@@ -6,65 +6,85 @@
<property name="title" translatable="yes">Foresight upgrade Helper</property>
<property name="icon">/usr/share/pixmaps/foresight-icon.png</property>
<child>
- <widget class="GtkFixed" id="fixed1">
+ <widget class="GtkHBox" id="hbox1">
<property name="visible">True</property>
<child>
- <widget class="GtkButton" id="button1">
- <property name="label" translatable="yes">Update Conary</property>
- <property name="width_request">138</property>
- <property name="height_request">43</property>
+ <widget class="GtkVBox" id="vbox1">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="update_conary"/>
- </widget>
- <packing>
- <property name="x">10</property>
- <property name="y">22</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="button2">
- <property name="label" translatable="yes">Update All</property>
- <property name="width_request">136</property>
- <property name="height_request">41</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="update_all"/>
- </widget>
- <packing>
- <property name="x">12</property>
- <property name="y">72</property>
- </packing>
- </child>
- <child>
- <widget class="GtkButton" id="button3">
- <property name="label" translatable="yes">Migrate Packages</property>
- <property name="width_request">135</property>
- <property name="height_request">40</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <signal name="clicked" handler="migrate"/>
+ <property name="spacing">20</property>
+ <child>
+ <widget class="GtkButton" id="button1">
+ <property name="label" translatable="yes">Update Conary</property>
+ <property name="width_request">138</property>
+ <property name="height_request">43</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <signal name="clicked" handler="update_conary"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="button2">
+ <property name="label" translatable="yes">Update All</property>
+ <property name="width_request">136</property>
+ <property name="height_request">41</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <signal name="clicked" handler="update_all"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="button3">
+ <property name="label" translatable="yes">Migrate Packages</property>
+ <property name="width_request">135</property>
+ <property name="height_request">40</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <signal name="clicked" handler="migrate"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
</widget>
<packing>
- <property name="x">13</property>
- <property name="y">118</property>
+ <property name="expand">False</property>
+ <property name="padding">7</property>
+ <property name="position">0</property>
</packing>
</child>
<child>
- <widget class="GtkTextView" id="textview1">
+ <widget class="GtkScrolledWindow" id="scrolledwindow1">
<property name="width_request">252</property>
- <property name="height_request">178</property>
+ <property name="height_request">252</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="editable">False</property>
- <property name="wrap_mode">word-char</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <child>
+ <widget class="GtkTextView" id="textview1">
+ <property name="width_request">252</property>
+ <property name="height_request">252</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="editable">False</property>
+ <property name="wrap_mode">word-char</property>
+ </widget>
+ </child>
</widget>
<packing>
- <property name="x">176</property>
- <property name="y">9</property>
+ <property name="position">1</property>
</packing>
</child>
</widget>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment