[gnome-software] Make application details scroll
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Make application details scroll
- Date: Wed, 4 Sep 2013 04:11:26 +0000 (UTC)
commit c374591b2aa5ad576a7ce922245c7d47e4ab5f8b
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Sep 4 00:10:30 2013 -0400
Make application details scroll
This can be necessary when the description is several
screenfuls, as is the case for aisleriot.
https://bugzilla.gnome.org/show_bug.cgi?id=707432
src/gnome-software.ui | 196 +++++++++++++++++++++++++------------------------
1 files changed, 101 insertions(+), 95 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index 65b133c..6715108 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -676,95 +676,102 @@
</object>
</child>
<child>
- <object class="GtkGrid" id="grid2">
+ <object class="GtkScrolledWindow" id="scrolledwindow_details">
<property name="visible">True</property>
+ <property name="shadow_type">none</property>
<property name="can_focus">False</property>
- <property name="halign">center</property>
- <property name="margin_left">80</property>
- <property name="margin_right">80</property>
- <property name="margin_top">40</property>
- <property name="margin_bottom">40</property>
- <property name="hexpand">False</property>
- <property name="column_spacing">20</property>
- <child>
- <object class="GtkImage" id="application_details_icon">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="valign">start</property>
- <property name="pixel_size">96</property>
- <property name="icon_name">gimp</property>
- </object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">0</property>
- <property name="width">1</property>
- <property name="height">3</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="application_details_title">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="valign">start</property>
- <property name="margin_bottom">10</property>
- <property name="hexpand">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">GNU Image Manipulation Program</property>
- <attributes>
- <attribute name="weight" value="bold"/>
- <attribute name="scale" value="1"/>
- </attributes>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">0</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLinkButton" id="application_details_url">
- <property name="label" translatable="yes">Visit website</property>
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="receives_default">True</property>
- <property name="xalign">0</property>
- <property name="halign">start</property>
- <property name="relief">none</property>
- <property name="uri"> http://www.gimp.org/</property>
- </object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">4</property>
- <property name="width">2</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="application_details_summary">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="halign">start</property>
- <property name="valign">start</property>
- <property name="hexpand">True</property>
- <property name="label" translatable="yes">The Gimp</property>
- <property name="margin_bottom">20</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">1</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
+ <property name="hscrollbar_policy">never</property>
+ <property name="vscrollbar_policy">automatic</property>
<child>
- <object class="GtkLabel" id="application_details_description">
+ <object class="GtkGrid" id="grid2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">GIMP (GNU Image Manipulation Program) is a
powerful image composition and
+ <property name="halign">center</property>
+ <property name="margin_left">80</property>
+ <property name="margin_right">80</property>
+ <property name="margin_top">40</property>
+ <property name="margin_bottom">40</property>
+ <property name="hexpand">False</property>
+ <property name="column_spacing">20</property>
+ <child>
+ <object class="GtkImage" id="application_details_icon">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="valign">start</property>
+ <property name="pixel_size">96</property>
+ <property name="icon_name">gimp</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="application_details_title">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="valign">start</property>
+ <property name="margin_bottom">10</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">GNU Image Manipulation Program</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ <attribute name="scale" value="1"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLinkButton" id="application_details_url">
+ <property name="label" translatable="yes">Visit website</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="xalign">0</property>
+ <property name="halign">start</property>
+ <property name="relief">none</property>
+ <property name="uri"> http://www.gimp.org/</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">4</property>
+ <property name="width">2</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="application_details_summary">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="valign">start</property>
+ <property name="hexpand">True</property>
+ <property name="label" translatable="yes">The Gimp</property>
+ <property name="margin_bottom">20</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="width">1</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="application_details_description">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">GIMP (GNU Image Manipulation Program) is a
powerful image composition and
editing program, which can be extremely useful for creating logos and other
graphics for webpages. GIMP has many of the tools and filters you would expect
to find in similar commercial offerings, and some interesting extras as well.
@@ -772,18 +779,17 @@ GIMP provides a large image manipulation toolbox, including channel operations
and layers, effects, sub-pixel imaging and anti-aliasing, and conversions, all
with multi-level undo.
</property>
- <property name="wrap">True</property>
- <property name="margin_bottom">20</property>
+ <property name="wrap">True</property>
+ <property name="margin_bottom">20</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">3</property>
+ <property name="width">2</property>
+ <property name="height">1</property>
+ </packing>
+ </child>
</object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">3</property>
- <property name="width">2</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
- <placeholder/>
</child>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]