mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Changed the 'minimized' field of the MetaTabEntry struct to 'hidden'.
2005-11-11 Aidan Delaney <a.j.delaney@brighton.ac.uk> * src/tabpopup.h: (struct _MetaTabEntry): * src/tabpopup.c: (meta_ui_tab_popup_new): * src/screen.c: (meta_screen_ensure_tab_popup): Changed the 'minimized' field of the MetaTabEntry struct to 'hidden'. Fixes reopened bug #168455.
This commit is contained in:
parent
7c1aa16c3b
commit
6677b55cd5
@ -1,3 +1,11 @@
|
||||
2005-11-11 Aidan Delaney <a.j.delaney@brighton.ac.uk>
|
||||
|
||||
* src/tabpopup.h: (struct _MetaTabEntry):
|
||||
* src/tabpopup.c: (meta_ui_tab_popup_new):
|
||||
* src/screen.c: (meta_screen_ensure_tab_popup):
|
||||
Changed the 'minimized' field of the MetaTabEntry struct to
|
||||
'hidden'. Fixes reopened bug #168455.
|
||||
|
||||
2005-10-29 Kjartan Maraas <kmaraas@gnome.org>
|
||||
|
||||
* src/eventqueue.c: (meta_event_queue_new): Merge fix
|
||||
|
@ -1206,7 +1206,7 @@ meta_screen_ensure_tab_popup (MetaScreen *screen,
|
||||
entries[i].title = window->title;
|
||||
entries[i].icon = window->icon;
|
||||
entries[i].blank = FALSE;
|
||||
entries[i].minimized = !meta_window_showing_on_its_workspace (window);
|
||||
entries[i].hidden = !meta_window_showing_on_its_workspace (window);
|
||||
entries[i].demands_attention = window->wm_state_demands_attention;
|
||||
|
||||
if (!window->minimized || !meta_window_get_icon_geometry (window, &r))
|
||||
@ -1310,7 +1310,7 @@ meta_screen_ensure_workspace_popup (MetaScreen *screen)
|
||||
entries[i].icon = NULL;
|
||||
entries[i].blank = TRUE;
|
||||
}
|
||||
entries[i].minimized = FALSE;
|
||||
entries[i].hidden = FALSE;
|
||||
entries[i].demands_attention = FALSE;
|
||||
|
||||
++i;
|
||||
|
@ -206,7 +206,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
|
||||
if (entries[i].title)
|
||||
{
|
||||
gchar *tmp;
|
||||
if (entries[i].minimized)
|
||||
if (entries[i].hidden)
|
||||
{
|
||||
tmp = g_strdup_printf ("[%s]", entries[i].title);
|
||||
}
|
||||
@ -235,7 +235,7 @@ meta_ui_tab_popup_new (const MetaTabEntry *entries,
|
||||
if (te->icon)
|
||||
{
|
||||
g_object_ref (G_OBJECT (te->icon));
|
||||
if (entries[i].minimized)
|
||||
if (entries[i].hidden)
|
||||
te->dimmed_icon = dimm_icon (entries[i].icon);
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,7 @@ struct _MetaTabEntry
|
||||
int x, y, width, height;
|
||||
int inner_x, inner_y, inner_width, inner_height;
|
||||
guint blank : 1;
|
||||
guint minimized : 1;
|
||||
guint hidden : 1;
|
||||
guint demands_attention : 1;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user