summaryrefslogtreecommitdiff
path: root/desktop/cairo-clock/patches/cairo-clock-composited.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/cairo-clock/patches/cairo-clock-composited.patch')
-rw-r--r--desktop/cairo-clock/patches/cairo-clock-composited.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/desktop/cairo-clock/patches/cairo-clock-composited.patch b/desktop/cairo-clock/patches/cairo-clock-composited.patch
new file mode 100644
index 0000000000..87ebef182a
--- /dev/null
+++ b/desktop/cairo-clock/patches/cairo-clock-composited.patch
@@ -0,0 +1,19 @@
+--- ./src/cairo-clock.c.orig 2007-08-20 06:22:45.000000000 +0200
++++ ./src/cairo-clock.c 2007-10-14 18:53:47.000000000 +0200
+@@ -1455,11 +1455,16 @@
+
+ if (!gdk_screen_is_composited (gtk_widget_get_screen (g_pMainWindow)))
+ {
++ printf( "You are not running under a composited desktop-environment (e.g. compiz).\n" );
++ printf( "cairo-clock cannot work properly without one.\n" );
++ /*
++
+ gtk_window_set_icon_from_file (GTK_WINDOW (g_pErrorDialog),
+ get_icon_filename (),
+ NULL);
+ gtk_dialog_run (GTK_DIALOG (g_pErrorDialog));
+ exit (2);
++ */
+ }
+
+ g_pPopUpMenu = glade_xml_get_widget (pGladeXml,