diff options
author | Yosef Or Boczko <yoseforb@gmail.com> | 2013-08-29 19:02:54 +0800 |
---|---|---|
committer | Yosef Or Boczko <yoseforb@gmail.com> | 2013-08-29 19:02:54 +0800 |
commit | fa9ed211b6457537492162d71d552ad5fee9c835 (patch) | |
tree | 174240a2b76a4d2dc10a9c6c02bb9d1116c38da5 | |
parent | 003ee0667564d8a3587f9ba60f2d088446943ef3 (diff) | |
download | gsoc2013-epiphany-fa9ed211b6457537492162d71d552ad5fee9c835.tar.gz gsoc2013-epiphany-fa9ed211b6457537492162d71d552ad5fee9c835.tar.zst gsoc2013-epiphany-fa9ed211b6457537492162d71d552ad5fee9c835.zip |
ephy-window: Use GtkFrame instead of GtkEventBox in the window title
-rw-r--r-- | src/ephy-window.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index e562f9ea6..fef5b3a46 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -3709,21 +3709,20 @@ lock_clicked_cb (EphyLocationController *controller, static GtkWidget * setup_toolbar (EphyWindow *window) { - GtkWidget *event_box; + GtkWidget *frame; GtkWidget *toolbar; GtkAction *action; EphyWindowPrivate *priv = window->priv; - event_box = gtk_event_box_new (); + frame = gtk_frame_new (NULL); toolbar = ephy_toolbar_new (window); gtk_widget_set_margin_top (toolbar, 6); gtk_widget_set_margin_bottom (toolbar, 6); gtk_widget_set_margin_left (toolbar, 8); gtk_widget_set_margin_right (toolbar, 8); - gtk_container_add (GTK_CONTAINER (event_box), toolbar); - gtk_event_box_set_visible_window (GTK_EVENT_BOX (event_box), TRUE); - gtk_widget_show (event_box); - gtk_window_set_titlebar (GTK_WINDOW (window), event_box); + gtk_container_add (GTK_CONTAINER (frame), toolbar); + gtk_widget_show (frame); + gtk_window_set_titlebar (GTK_WINDOW (window), frame); action = gtk_action_group_get_action (priv->toolbar_action_group, "NavigationBack"); |