[gnumeric] GUI: remove the ghost left-over front a detached toolbar.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] GUI: remove the ghost left-over front a detached toolbar.
- Date: Thu, 28 Mar 2013 00:12:44 +0000 (UTC)
commit dd34748c4736d917a8d9a57a6b93d764a427a6ad
Author: Morten Welinder <terra gnome org>
Date: Wed Mar 27 20:11:51 2013 -0400
GUI: remove the ghost left-over front a detached toolbar.
Well, not completely. We leave a single pixel.
src/gnumeric.css | 7 +++++++
src/wbc-gtk.c | 12 ------------
2 files changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/src/gnumeric.css b/src/gnumeric.css
index f2ac8ef..09808ef 100644
--- a/src/gnumeric.css
+++ b/src/gnumeric.css
@@ -145,3 +145,10 @@ GnmNotebook {
}
/* ------------------------------------------------------------------------- */
+
+GtkHandleBox {
+ color: transparent;
+ padding: 0px;
+}
+
+/* ------------------------------------------------------------------------- */
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index c079aeb..94c0902 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -3719,18 +3719,6 @@ cb_handlebox_dock_status (GtkHandleBox *hb,
GtkToolbar *toolbar, gpointer pattached)
{
gboolean attached = GPOINTER_TO_INT (pattached);
-#warning GTK3: looks like there is no replacement in gtk3
-#if 0
- GtkWidget *box = GTK_WIDGET (hb);
-
- /* BARF! */
- /* See http://bugzilla.gnome.org/show_bug.cgi?id=139184 */
- GtkStyle *style = gtk_style_copy (gtk_widget_get_style (box));
- style->ythickness = attached ? 2 : 0;
- gtk_widget_set_style (box, style);
- g_object_unref (style);
-#endif
-
gtk_toolbar_set_show_arrow (toolbar, attached);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]