diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-23 03:26:40 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-10-23 03:26:40 +0800 |
commit | 0e89f43c0259cf89b64ee30feee2f9ffffcd0f10 (patch) | |
tree | 0740dff342ce960db2df7ed417d1da68cce19959 /filter | |
parent | 36ec6f4a0de26338dbfeaa8f2cb8e7a878036404 (diff) | |
download | gsoc2013-evolution-0e89f43c0259cf89b64ee30feee2f9ffffcd0f10.tar.gz gsoc2013-evolution-0e89f43c0259cf89b64ee30feee2f9ffffcd0f10.tar.zst gsoc2013-evolution-0e89f43c0259cf89b64ee30feee2f9ffffcd0f10.zip |
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
Diffstat (limited to 'filter')
-rw-r--r-- | filter/ChangeLog | 10 | ||||
-rw-r--r-- | filter/filter.glade | 44 | ||||
-rw-r--r-- | filter/rule-editor.c | 1 | ||||
-rw-r--r-- | filter/vfolder-rule.c | 1 |
4 files changed, 20 insertions, 36 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 0506227e66..f565102ec7 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -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 diff --git a/filter/filter.glade b/filter/filter.glade index 973c7ea33c..ac61b72c4d 100644 --- a/filter/filter.glade +++ b/filter/filter.glade @@ -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> diff --git a/filter/rule-editor.c b/filter/rule-editor.c index 32f368a06b..24a2cc2279 100644 --- a/filter/rule-editor.c +++ b/filter/rule-editor.c @@ -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); diff --git a/filter/vfolder-rule.c b/filter/vfolder-rule.c index 91ad0b151c..a0911f4565 100644 --- a/filter/vfolder-rule.c +++ b/filter/vfolder-rule.c @@ -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); |