[Aptitude-devel] [PATCH 1 of 4] Make TextViews not editable

Obey Arthur Liu arthur at milliways.fr
Fri Dec 26 13:14:27 UTC 2008


Luca Bruno a écrit :
> # HG changeset patch
> # User Luca Bruno <lethalman88 at gmail.com>
> # Date 1230284569 -3600
> # Node ID a12881333af93cd5eca3c17a85f02e1082571f78
> # Parent  486aba3bc5ec60157882b59994d62ba6cfc0af73
> Make TextViews not editable
> 	* src/gtk/aptitude.glade: dashboard_upgrades_summary_textview
> 	main_apply_changes_scrolledwindow
> 
> diff --git a/src/gtk/aptitude.glade b/src/gtk/aptitude.glade
> --- a/src/gtk/aptitude.glade
> +++ b/src/gtk/aptitude.glade
> @@ -529,6 +529,7 @@
>                                            <widget class="GtkTextView" id="dashboard_upgrades_summary_textview">
>                                              <property name="visible">True</property>
>                                              <property name="can_focus">True</property>
> +                                            <property name="editable">False</property>
>                                            </widget>
>                                          </child>
>                                        </widget>
> @@ -1614,6 +1615,7 @@
>                    <widget class="GtkTextView" id="textview1">
>                      <property name="visible">True</property>
>                      <property name="can_focus">True</property>
> +                    <property name="editable">False</property>
>                      <property name="text" translatable="yes">A terminal running dpkg will appear here.</property>
>                    </widget>
>                  </child>

Thank you for the patch

Arthur


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20081226/42643878/attachment.pgp 


More information about the Aptitude-devel mailing list