Remove Viewports around the treeviews, since they already have a scrolled

* filter.glade: Remove Viewports around the treeviews, since they
already have a scrolled window around them and the viewports cause
a double bevel to appear.

* rule-editor.c (rule_editor_treeview_new): Make the scrolled
window have a GTK_SHADOW_IN shadow.
* vfolder-rule.c (vfolder_editor_sourcelist_new): Likewise

svn path=/trunk/; revision=22997
This commit is contained in:
Ettore Perazzoli
2003-10-22 19:26:40 +00:00
parent 36ec6f4a0d
commit 0e89f43c02
4 changed files with 20 additions and 36 deletions

View File

@ -1,3 +1,13 @@
2003-10-22 Ettore Perazzoli <ettore@ximian.com>
* filter.glade: Remove Viewports around the treeviews, since they
already have a scrolled window around them and the viewports cause
a double bevel to appear.
* rule-editor.c (rule_editor_treeview_new): Make the scrolled
window have a GTK_SHADOW_IN shadow.
* vfolder-rule.c (vfolder_editor_sourcelist_new): Likewise
2003-10-10 Not Zed <NotZed@Ximian.com>
* filter-folder.c (folder_selected): change for

View File

@ -115,21 +115,14 @@
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkViewport" id="viewport5">
<property name="visible">True</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="Custom" id="rule_list">
<property name="visible">True</property>
<property name="creation_function">rule_editor_treeview_new</property>
<property name="int1">0</property>
<property name="int2">0</property>
<property name="last_modification_time">Thu, 12 Dec 2002 23:41:46 GMT</property>
</widget>
</child>
</widget>
</child>
<widget class="Custom" id="rule_list">
<property name="visible">True</property>
<property name="creation_function">rule_editor_treeview_new</property>
<property name="int1">0</property>
<property name="int2">0</property>
<property name="last_modification_time">Thu, 12 Dec 2002 23:41:46 GMT</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
@ -326,11 +319,6 @@
<property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkViewport" id="viewport7">
<property name="visible">True</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="Custom" id="rule_list">
<property name="visible">True</property>
@ -340,8 +328,6 @@
<property name="last_modification_time">Fri, 13 Dec 2002 00:15:04 GMT</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
@ -607,11 +593,6 @@
<property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkViewport" id="viewport8">
<property name="visible">True</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="Custom" id="source_list">
<property name="visible">True</property>
@ -621,8 +602,6 @@
<property name="last_modification_time">Fri, 13 Dec 2002 00:22:39 GMT</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
@ -781,11 +760,6 @@
<property name="shadow_type">GTK_SHADOW_NONE</property>
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
<child>
<widget class="GtkViewport" id="viewport6">
<property name="visible">True</property>
<property name="shadow_type">GTK_SHADOW_IN</property>
<child>
<widget class="Custom" id="rule_list">
<property name="visible">True</property>
@ -795,8 +769,6 @@
<property name="last_modification_time">Thu, 12 Dec 2002 23:50:05 GMT</property>
</widget>
</child>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>

View File

@ -679,6 +679,7 @@ rule_editor_treeview_new (char *widget_name, char *string1, char *string2, int i
GtkListStore *model;
scrolled = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled), GTK_SHADOW_IN);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

View File

@ -521,6 +521,7 @@ vfolder_editor_sourcelist_new (char *widget_name, char *string1, char *string2,
GtkListStore *model;
scrolled = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled), GTK_SHADOW_IN);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled),
GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);