]> www.fi.muni.cz Git - evince.git/commitdiff
Remove frame around dropdown box and button at the top of the sidebar.
authorKristian Høgsberg <krh@redhat.com>
Wed, 4 May 2005 21:03:48 +0000 (21:03 +0000)
committerKristian Høgsberg <krh@src.gnome.org>
Wed, 4 May 2005 21:03:48 +0000 (21:03 +0000)
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.

ChangeLog
shell/ev-sidebar.c

index 11d8eb47e952c0af7a0654ab5097cc117ff81ff8..c5c9c05d0146f5772efefe3190386ea08670a697 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
 2005-05-02  James Bowes  <bowes@cs.dal.ca>
 
        * configure.ac: Output zoom-control Makefile.
index 3f296075a84c7e9fb9e382da0cbb4da6c1346de8..3ba66ada46932cd8744b2b9c4a52ae6bf74deb7e 100644 (file)
@@ -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 ();