mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
9a1f447dfc
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
352 lines
14 KiB
Diff
352 lines
14 KiB
Diff
Author: Thomas Viehmann <tv@beamnet.de>
|
|
Description: Fix line width combo box
|
|
Fixes the line width combo box by puting items in the drop down
|
|
menu in the gpaint.glade file.
|
|
Bug-Debian: http://bugs.debian.org/497484
|
|
Bug-Ubuntu: https://bugs.edge.launchpad.net/ubuntu/+source/gpaint/+bug/209173
|
|
Forwarded: https://savannah.gnu.org/patch/?6644
|
|
|
|
Index: b/gpaint.glade
|
|
===================================================================
|
|
--- a/gpaint.glade 2009-12-19 17:12:10.000000000 -0200
|
|
+++ b/gpaint.glade 2009-12-19 17:12:11.000000000 -0200
|
|
@@ -1230,6 +1230,34 @@
|
|
<property name="column_spacing">0</property>
|
|
|
|
<child>
|
|
+ <widget class="GtkLabel" id="Line Width">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">line width</property>
|
|
+ <property name="use_underline">False</property>
|
|
+ <property name="use_markup">False</property>
|
|
+ <property name="justify">GTK_JUSTIFY_CENTER</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>
|
|
+ <signal name="realize" handler="on_small_label_realize"/>
|
|
+ </widget>
|
|
+ <packing>
|
|
+ <property name="left_attach">0</property>
|
|
+ <property name="right_attach">1</property>
|
|
+ <property name="top_attach">0</property>
|
|
+ <property name="bottom_attach">1</property>
|
|
+ <property name="x_options"></property>
|
|
+ <property name="y_options"></property>
|
|
+ </packing>
|
|
+ </child>
|
|
+ <child>
|
|
<widget class="GtkCombo" id="line_width_combo">
|
|
<property name="width_request">60</property>
|
|
<property name="height_request">25</property>
|
|
@@ -1239,27 +1267,264 @@
|
|
<property name="case_sensitive">False</property>
|
|
<property name="enable_arrow_keys">True</property>
|
|
<property name="enable_arrows_always">False</property>
|
|
- <signal name="check_resize" handler="on_line_width_combo_check_resize"/>
|
|
<signal name="add" handler="on_line_width_combo_add"/>
|
|
+ <signal name="check_resize" handler="on_line_width_combo_check_resize"/>
|
|
|
|
<child internal-child="entry">
|
|
- <widget class="GtkEntry" id="entry1">
|
|
+ <widget class="GtkEntry" id="line_width_combo_combo_entry">
|
|
<property name="visible">True</property>
|
|
+ <property name="tooltip" translatable="yes">line width</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="invisible_char">*</property>
|
|
<property name="activates_default">False</property>
|
|
+ <signal name="changed" handler="on_line_width_combo_combo_entry_changed"/>
|
|
</widget>
|
|
</child>
|
|
|
|
<child internal-child="list">
|
|
- <widget class="GtkList" id="list1">
|
|
+ <widget class="GtkList" id="convertwidget1">
|
|
<property name="visible">True</property>
|
|
<property name="selection_mode">GTK_SELECTION_BROWSE</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget2">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget3">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">1</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget4">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget5">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">2</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget6">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget7">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">3</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget8">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget9">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">4</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget10">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget11">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">5</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget12">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget13">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">6</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget14">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget15">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">7</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget16">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget17">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">8</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkListItem" id="convertwidget18">
|
|
+ <property name="visible">True</property>
|
|
+
|
|
+ <child>
|
|
+ <widget class="GtkLabel" id="convertwidget19">
|
|
+ <property name="visible">True</property>
|
|
+ <property name="label" translatable="yes">9</property>
|
|
+ <property name="use_underline">False</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</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>
|
|
+ </child>
|
|
+ </widget>
|
|
+ </child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|
|
@@ -1272,35 +1537,6 @@
|
|
<property name="y_options"></property>
|
|
</packing>
|
|
</child>
|
|
-
|
|
- <child>
|
|
- <widget class="GtkLabel" id="Line Width">
|
|
- <property name="visible">True</property>
|
|
- <property name="label" translatable="yes">line width</property>
|
|
- <property name="use_underline">False</property>
|
|
- <property name="use_markup">False</property>
|
|
- <property name="justify">GTK_JUSTIFY_CENTER</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>
|
|
- <signal name="realize" handler="on_small_label_realize"/>
|
|
- </widget>
|
|
- <packing>
|
|
- <property name="left_attach">0</property>
|
|
- <property name="right_attach">1</property>
|
|
- <property name="top_attach">0</property>
|
|
- <property name="bottom_attach">1</property>
|
|
- <property name="x_options"></property>
|
|
- <property name="y_options"></property>
|
|
- </packing>
|
|
- </child>
|
|
</widget>
|
|
</child>
|
|
</widget>
|