aboutsummaryrefslogtreecommitdiff
path: root/desktop/cairo-clock/patches/cairo-clock-composited.patch
diff options
context:
space:
mode:
authorSébastien Ballet <slacker6896@gmail.com>2018-10-27 00:17:55 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-10-27 00:17:55 +0100
commit9427c6b28d3fa44b7fd5598d9a4ecb790eccb453 (patch)
tree43149955ffe42415f0aa14f1641e2fa6bee6b039 /desktop/cairo-clock/patches/cairo-clock-composited.patch
parentb4ca915a374a080eaaa763557286ba38f9a439d8 (diff)
desktop/cairo-clock: Added (Analog Clock).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 0000000000000..87ebef182afe6
--- /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,