summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-08-29 16:38:57 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-08-29 16:38:57 +0000
commit6d31d4756e219696b9ae7cdee986eca452883005 (patch)
tree10bd076b773480a3fcf29684a72d340e9be4eafe
parentbea9d1f6791c0e88299a6c8d5d3018261c8ea95b (diff)
downloadmetacity-6d31d4756e219696b9ae7cdee986eca452883005.tar.gz
Switch back to outline.
2001-08-29 Havoc Pennington <hp@redhat.com> * src/tabpopup.c: Switch back to outline.
-rw-r--r--ChangeLog4
-rw-r--r--src/tabpopup.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b5256d4e..3f1a1e8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-08-29 Havoc Pennington <hp@redhat.com>
+
+ * src/tabpopup.c: Switch back to outline.
+
2001-08-29 Havoc Pennington <hp@pobox.com>
* src/tabpopup.c: experiment with window-cover-with-icon
diff --git a/src/tabpopup.c b/src/tabpopup.c
index 84e0fa21..34e325b0 100644
--- a/src/tabpopup.c
+++ b/src/tabpopup.c
@@ -26,7 +26,7 @@
#define OUTSIDE_SELECT_RECT 2
#define INSIDE_SELECT_RECT 2
-#define OUTLINE_WIDTH 3
+#define OUTLINE_WIDTH 5
typedef struct _TabEntry TabEntry;
@@ -110,8 +110,10 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries)
popup->outline_window = gtk_window_new (GTK_WINDOW_POPUP);
gtk_widget_set_app_paintable (popup->outline_window, TRUE);
gtk_widget_realize (popup->outline_window);
+#if 0
g_signal_connect (G_OBJECT (popup->outline_window), "expose_event",
G_CALLBACK (outline_window_expose), popup);
+#endif
popup->window = gtk_window_new (GTK_WINDOW_POPUP);
gtk_window_set_position (GTK_WINDOW (popup->window),
@@ -305,7 +307,6 @@ display_entry (MetaTabPopup *popup,
gdk_window_set_background (popup->outline_window->window,
&popup->outline_window->style->black);
-#if 0
region = gdk_region_rectangle (&rect);
inner_region = gdk_region_rectangle (&inner);
gdk_region_subtract (region, inner_region);
@@ -314,7 +315,6 @@ display_entry (MetaTabPopup *popup,
gdk_window_shape_combine_region (popup->outline_window->window,
region,
0, 0);
-#endif
/* This should piss off gtk a bit, but we don't want to raise
* above the tab popup