summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-09-16 00:30:45 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-09-16 00:30:45 +0000
commit39df21227d00fa4c2d37b413a5432c6a36b61d98 (patch)
tree010a3c220b7c184889aacf973fe8d8aa265d2150 /src/ui.c
parent2830c9d74862700fdecd19675e8e5d4432afac38 (diff)
downloadmutter-39df21227d00fa4c2d37b413a5432c6a36b61d98.tar.gz
add support for a mini icon in the titlebar (update_icon): re-enable
2001-09-15 Havoc Pennington <hp@pobox.com> * src/window.c: add support for a mini icon in the titlebar (update_icon): re-enable support for _NET_WM_ICON * src/session.c (save_state): add an ferror check when writing session file
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index 48909a639..01b3154b0 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -429,6 +429,16 @@ meta_ui_get_default_window_icon (MetaUI *ui)
NULL);
}
+GdkPixbuf*
+meta_ui_get_default_mini_icon (MetaUI *ui)
+{
+ /* FIXME */
+ return gtk_widget_render_icon (GTK_WIDGET (ui->frames),
+ GTK_STOCK_NEW,
+ GTK_ICON_SIZE_MENU,
+ NULL);
+}
+
gboolean
meta_ui_window_should_not_cause_focus (Display *xdisplay,
Window xwindow)