diff options
author | Kristian Høgsberg <krh@redhat.com> | 2005-05-04 21:03:48 (GMT) |
---|---|---|
committer | Kristian Høgsberg <krh@src.gnome.org> | 2005-05-04 21:03:48 (GMT) |
commit | 2cb9212432df8a72a106f76619db52ce9031f667 (patch) | |
tree | d0896bb0254b3d09c9b95f38d4792700fc58ce8d /shell/ev-sidebar.c | |
parent | 2982eda46f7cd083ddf79dfb0f2578f3f8d44fd2 (diff) |
Remove frame around dropdown box and button at the top of the sidebar.
2005-05-04 Kristian Høgsberg <krh@redhat.com>
* shell/ev-sidebar.c (ev_sidebar_init): Remove frame around
dropdown box and button at the top of the sidebar.
Diffstat (limited to 'shell/ev-sidebar.c')
-rw-r--r-- | shell/ev-sidebar.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/shell/ev-sidebar.c b/shell/ev-sidebar.c index 3f29607..3ba66ad 100644 --- a/shell/ev-sidebar.c +++ b/shell/ev-sidebar.c @@ -45,7 +45,6 @@ enum struct _EvSidebarPrivate { GtkWidget *notebook; GtkWidget *menu; - GtkWidget *frame; GtkWidget *hbox; GtkWidget *label; @@ -215,7 +214,6 @@ ev_sidebar_menu_item_activate_cb (GtkWidget *widget, static void ev_sidebar_init (EvSidebar *ev_sidebar) { - GtkWidget *frame; GtkWidget *hbox; GtkWidget *close_button; GtkWidget *select_button; @@ -234,14 +232,9 @@ ev_sidebar_init (EvSidebar *ev_sidebar) G_TYPE_INT); /* top option menu */ - frame = gtk_frame_new (NULL); - ev_sidebar->priv->frame = frame; - gtk_box_pack_start (GTK_BOX (ev_sidebar), frame, FALSE, FALSE, 0); - gtk_widget_show (frame); - hbox = gtk_hbox_new (FALSE, 0); ev_sidebar->priv->hbox = hbox; - gtk_container_add (GTK_CONTAINER (frame), hbox); + gtk_box_pack_start (GTK_BOX (ev_sidebar), hbox, FALSE, FALSE, 0); gtk_widget_show (hbox); select_button = gtk_toggle_button_new (); |