fix args to gtk_alignment_new()

2001-08-31  Havoc Pennington  <hp@pobox.com>

	* src/tabpopup.c (meta_ui_tab_popup_new): fix args to
	gtk_alignment_new()
This commit is contained in:
Havoc Pennington 2001-08-31 06:13:07 +00:00 committed by Havoc Pennington
parent 3e1c68b88a
commit 501dd26713
5 changed files with 13 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2001-08-31 Havoc Pennington <hp@pobox.com>
* src/tabpopup.c (meta_ui_tab_popup_new): fix args to
gtk_alignment_new()
2001-08-29 Havoc Pennington <hp@pobox.com> 2001-08-29 Havoc Pennington <hp@pobox.com>
* src/display.c (event_callback): avoid focusing a window on tab * src/display.c (event_callback): avoid focusing a window on tab

18
README
View File

@ -127,6 +127,9 @@ METACITY FEATURES
to help users see what is happening. Should probably to help users see what is happening. Should probably
have a few more of these. have a few more of these.
- if you have the proper X setup, set the GDK_USE_XFT=1
environment variable to get antialiased window titles.
METACITY BUGS, NON-FEATURES, AND CAVEATS METACITY BUGS, NON-FEATURES, AND CAVEATS
=== ===
@ -194,15 +197,6 @@ METACITY BUGS, NON-FEATURES, AND CAVEATS
- Should support click-to-focus as an option. - Should support click-to-focus as an option.
- With Alt+Tab, if the mouse pointer is over the tab popup window,
when the tab popup window closes the window under the pointer will get
an enter event and thus take the focus, instead of the window you
just tabbed to.
- The focus rectangle around the icons in the Alt-Tab popup
is ugly, should use a GTK-like focus rectangle, or maybe
make it look selected, not sure.
- Should Metacity support flipping in right-to-left locales? - Should Metacity support flipping in right-to-left locales?
I don't know what window managers look like in a right-to-left I don't know what window managers look like in a right-to-left
locale. I assume the window titles should be right-justified; locale. I assume the window titles should be right-justified;
@ -257,10 +251,8 @@ METACITY BUGS, NON-FEATURES, AND CAVEATS
setting the new non-legacy type hint, but a panel with that setting the new non-legacy type hint, but a panel with that
patch hasn't been released yet. patch hasn't been released yet.
- The minimize/shade animation leaves "dirt" on Metacity's own frames, - If you run a GLX/DRI 3D game or application, Metacity will
because Metacity handles exposes on its own frames during the crash, for reasons I do not yet understand.
animation. We could fix this with a horrible GDK hack of some kind.
I'm not sure of the best way yet.
FAQ FAQ
=== ===

View File

@ -36,6 +36,7 @@ metacity_SOURCES= \
stack.c \ stack.c \
stack.h \ stack.h \
tabpopup.c \ tabpopup.c \
tabpopup.h \
ui.c \ ui.c \
ui.h \ ui.h \
util.c \ util.c \

View File

@ -169,7 +169,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries)
gtk_container_add (GTK_CONTAINER (frame), gtk_container_add (GTK_CONTAINER (frame),
vbox); vbox);
align = gtk_alignment_new (0.5, 0.5, 1.0, 1.0); align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0);
gtk_box_pack_start (GTK_BOX (vbox), align, TRUE, TRUE, 0); gtk_box_pack_start (GTK_BOX (vbox), align, TRUE, TRUE, 0);

View File

@ -23,6 +23,7 @@
#include "frames.h" #include "frames.h"
#include "util.h" #include "util.h"
#include "menu.h" #include "menu.h"
#include "core.h"
struct _MetaUI struct _MetaUI
{ {