From af14e353b1848b8cf3b57655425669203b35620d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Thu, 21 Sep 2006 11:49:43 +0000 Subject: [PATCH] nicer textviews in pref window (no horizontal scrollbar and wrap) --- data/glade/preferences_window.glade | 56 ++++++++++++++--------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/data/glade/preferences_window.glade b/data/glade/preferences_window.glade index dfeec70baa..33c3e34283 100644 --- a/data/glade/preferences_window.glade +++ b/data/glade/preferences_window.glade @@ -1204,24 +1204,24 @@ Per type</property> </child> <child> - <widget class="GtkScrolledWindow" id="scrolledwindow25"> + <widget class="GtkScrolledWindow" id="scrolledwindow26"> <property name="height_request">30</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="hscrollbar_policy">GTK_POLICY_NEVER</property> <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="shadow_type">GTK_SHADOW_IN</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property> <child> - <widget class="GtkTextView" id="before_time_textview"> + <widget class="GtkTextView" id="after_time_textview"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> <property name="overwrite">False</property> <property name="accepts_tab">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> - <property name="wrap_mode">GTK_WRAP_NONE</property> + <property name="wrap_mode">GTK_WRAP_CHAR</property> <property name="cursor_visible">True</property> <property name="pixels_above_lines">0</property> <property name="pixels_below_lines">0</property> @@ -1230,13 +1230,13 @@ Per type</property> <property name="right_margin">0</property> <property name="indent">0</property> <property name="text" translatable="yes"></property> - <signal name="focus_out_event" handler="on_before_time_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 18:21:39 GMT"/> + <signal name="focus_out_event" handler="on_after_time_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 19:52:22 GMT"/> </widget> </child> </widget> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> + <property name="left_attach">3</property> + <property name="right_attach">4</property> <property name="top_attach">0</property> <property name="bottom_attach">1</property> <property name="x_options">fill</property> @@ -1245,24 +1245,24 @@ Per type</property> </child> <child> - <widget class="GtkScrolledWindow" id="scrolledwindow27"> + <widget class="GtkScrolledWindow" id="scrolledwindow28"> <property name="height_request">30</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="hscrollbar_policy">GTK_POLICY_NEVER</property> <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="shadow_type">GTK_SHADOW_IN</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property> <child> - <widget class="GtkTextView" id="before_nickname_textview"> + <widget class="GtkTextView" id="after_nickname_textview"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> <property name="overwrite">False</property> <property name="accepts_tab">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> - <property name="wrap_mode">GTK_WRAP_NONE</property> + <property name="wrap_mode">GTK_WRAP_CHAR</property> <property name="cursor_visible">True</property> <property name="pixels_above_lines">0</property> <property name="pixels_below_lines">0</property> @@ -1271,13 +1271,13 @@ Per type</property> <property name="right_margin">0</property> <property name="indent">0</property> <property name="text" translatable="yes"></property> - <signal name="focus_out_event" handler="on_before_nickname_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 19:52:05 GMT"/> + <signal name="focus_out_event" handler="on_after_nickname_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 19:52:51 GMT"/> </widget> </child> </widget> <packing> - <property name="left_attach">1</property> - <property name="right_attach">2</property> + <property name="left_attach">3</property> + <property name="right_attach">4</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="x_options">fill</property> @@ -1286,24 +1286,24 @@ Per type</property> </child> <child> - <widget class="GtkScrolledWindow" id="scrolledwindow28"> + <widget class="GtkScrolledWindow" id="scrolledwindow27"> <property name="height_request">30</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="hscrollbar_policy">GTK_POLICY_NEVER</property> <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="shadow_type">GTK_SHADOW_IN</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property> <child> - <widget class="GtkTextView" id="after_nickname_textview"> + <widget class="GtkTextView" id="before_nickname_textview"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> <property name="overwrite">False</property> <property name="accepts_tab">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> - <property name="wrap_mode">GTK_WRAP_NONE</property> + <property name="wrap_mode">GTK_WRAP_CHAR</property> <property name="cursor_visible">True</property> <property name="pixels_above_lines">0</property> <property name="pixels_below_lines">0</property> @@ -1312,13 +1312,13 @@ Per type</property> <property name="right_margin">0</property> <property name="indent">0</property> <property name="text" translatable="yes"></property> - <signal name="focus_out_event" handler="on_after_nickname_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 19:52:51 GMT"/> + <signal name="focus_out_event" handler="on_before_nickname_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 19:52:05 GMT"/> </widget> </child> </widget> <packing> - <property name="left_attach">3</property> - <property name="right_attach">4</property> + <property name="left_attach">1</property> + <property name="right_attach">2</property> <property name="top_attach">1</property> <property name="bottom_attach">2</property> <property name="x_options">fill</property> @@ -1327,24 +1327,24 @@ Per type</property> </child> <child> - <widget class="GtkScrolledWindow" id="scrolledwindow26"> + <widget class="GtkScrolledWindow" id="scrolledwindow25"> <property name="height_request">30</property> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property> + <property name="hscrollbar_policy">GTK_POLICY_NEVER</property> <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property> <property name="shadow_type">GTK_SHADOW_IN</property> <property name="window_placement">GTK_CORNER_TOP_LEFT</property> <child> - <widget class="GtkTextView" id="after_time_textview"> + <widget class="GtkTextView" id="before_time_textview"> <property name="visible">True</property> <property name="can_focus">True</property> <property name="editable">True</property> <property name="overwrite">False</property> <property name="accepts_tab">True</property> <property name="justification">GTK_JUSTIFY_LEFT</property> - <property name="wrap_mode">GTK_WRAP_NONE</property> + <property name="wrap_mode">GTK_WRAP_CHAR</property> <property name="cursor_visible">True</property> <property name="pixels_above_lines">0</property> <property name="pixels_below_lines">0</property> @@ -1353,13 +1353,13 @@ Per type</property> <property name="right_margin">0</property> <property name="indent">0</property> <property name="text" translatable="yes"></property> - <signal name="focus_out_event" handler="on_after_time_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 19:52:22 GMT"/> + <signal name="focus_out_event" handler="on_before_time_textview_focus_out_event" last_modification_time="Wed, 20 Sep 2006 18:21:39 GMT"/> </widget> </child> </widget> <packing> - <property name="left_attach">3</property> - <property name="right_attach">4</property> + <property name="left_attach">1</property> + <property name="right_attach">2</property> <property name="top_attach">0</property> <property name="bottom_attach">1</property> <property name="x_options">fill</property> -- GitLab