libegg r872 - in trunk: . libegg/toolpalette
- From: jap svn gnome org
- To: svn-commits-list gnome org
- Subject: libegg r872 - in trunk: . libegg/toolpalette
- Date: Sun, 1 Jun 2008 09:20:49 +0000 (UTC)
Author: jap
Date: Sun Jun 1 09:20:49 2008
New Revision: 872
URL: http://svn.gnome.org/viewvc/libegg?rev=872&view=rev
Log:
2008-06-01 Jan Arne Petersen <jpetersen openismus com>
* libegg/toolpalette/testtoolpalette.c (palette_notify_orientation):
Use GTK_POLICY_AUTOMATIC to show the scrollbar only when required.
Modified:
trunk/ChangeLog
trunk/libegg/toolpalette/testtoolpalette.c
Modified: trunk/libegg/toolpalette/testtoolpalette.c
==============================================================================
--- trunk/libegg/toolpalette/testtoolpalette.c (original)
+++ trunk/libegg/toolpalette/testtoolpalette.c Sun Jun 1 09:20:49 2008
@@ -478,13 +478,13 @@
{
case GTK_ORIENTATION_VERTICAL:
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroller),
- GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+ GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_paned_pack1 (GTK_PANED (hpaned), scroller, FALSE, FALSE);
break;
case GTK_ORIENTATION_HORIZONTAL:
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scroller),
- GTK_POLICY_ALWAYS, GTK_POLICY_NEVER);
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_NEVER);
gtk_paned_pack1 (GTK_PANED (vpaned), scroller, FALSE, FALSE);
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]