From bb539d648e80733ebc5eac54dec76344a399195a Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 23 Feb 2005 01:20:07 +0000 Subject: Use spacing instead of a separator. 2005-02-23 Christian Persch * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_update_visibility), (ephy_fullscreen_popup_constructor): Use spacing instead of a separator. --- ChangeLog | 8 ++++++++ src/ephy-fullscreen-popup.c | 13 ++----------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 06690601a..0d1d98517 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-02-23 Christian Persch + + * src/ephy-fullscreen-popup.c: + (ephy_fullscreen_popup_update_visibility), + (ephy_fullscreen_popup_constructor): + + Use spacing instead of a separator. + 2005-02-22 Christian Persch * data/default-prefs-toolkit.js: diff --git a/src/ephy-fullscreen-popup.c b/src/ephy-fullscreen-popup.c index b10a0496d..28f48dd3e 100644 --- a/src/ephy-fullscreen-popup.c +++ b/src/ephy-fullscreen-popup.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -46,7 +45,6 @@ struct _EphyFullscreenPopupPrivate { EphyWindow *window; GtkTooltips *tooltips; - GtkWidget *sep; GtkWidget *frame; EphySpinner *spinner; GtkWidget *lock; @@ -100,14 +98,12 @@ static void ephy_fullscreen_popup_update_visibility (EphyFullscreenPopup *popup) { EphyFullscreenPopupPrivate *priv = popup->priv; - gboolean show_frame, show_sep; + gboolean show_frame; show_frame = priv->spinning || priv->show_lock; - show_sep = show_frame && priv->show_button; g_object_set (priv->button, "visible", priv->show_button, "sensitive", priv->show_button, NULL); - g_object_set (priv->sep, "visible", show_sep, NULL); g_object_set (priv->frame, "visible", show_frame, NULL); g_object_set (priv->spinner, "visible", priv->spinning, NULL); g_object_set (priv->lock_ebox, "visible", priv->show_lock, NULL); @@ -247,7 +243,7 @@ ephy_fullscreen_popup_constructor (GType type, g_object_ref (G_OBJECT (priv->tooltips)); gtk_object_sink (GTK_OBJECT (priv->tooltips)); - hbox = gtk_hbox_new (FALSE, 0); + hbox = gtk_hbox_new (FALSE, 2); gtk_container_add (GTK_CONTAINER (window), hbox); gtk_widget_show (hbox); @@ -278,11 +274,6 @@ ephy_fullscreen_popup_constructor (GType type, gtk_box_pack_start (GTK_BOX (frame_hbox), priv->lock_ebox, FALSE, FALSE, 0); gtk_widget_show (priv->lock_ebox); - /* separator */ - priv->sep = gtk_hseparator_new (); - gtk_box_pack_start (GTK_BOX (hbox), priv->sep, FALSE, FALSE, 0); - gtk_widget_show (priv->sep); - /* exit button */ priv->button = gtk_button_new (); g_signal_connect (priv->button, "clicked", -- cgit v1.2.3