Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
tsclient
tsclient-libnotify07.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tsclient-libnotify07.patch of Package tsclient
Index: tsclient-2.0.2/src/plugins/default/tsc-dmx-connection.c =================================================================== --- tsclient-2.0.2.orig/src/plugins/default/tsc-dmx-connection.c +++ tsclient-2.0.2/src/plugins/default/tsc-dmx-connection.c @@ -42,7 +42,11 @@ notify_fullscreen_cb (TSCDmxConnection * tsc_connection_get_name (TSC_CONNECTION (connection))); body = g_strdup_printf (_("You are connected to '%s' in fullscreen mode. Use F8 to switch to and from windowed mode."), tsc_connection_get_name (TSC_CONNECTION (connection))); +#ifndef NOTIFY_CHECK_VERSION || if !NOTIFY_CHECK_VERSION(0,7,0) n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO, NULL); +#else + n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO); +#endif g_free (summary); g_free (body); Index: tsclient-2.0.2/src/plugins/default/tsc-rdp-connection.c =================================================================== --- tsclient-2.0.2.orig/src/plugins/default/tsc-rdp-connection.c +++ tsclient-2.0.2/src/plugins/default/tsc-rdp-connection.c @@ -52,7 +52,11 @@ notify_fullscreen_cb (TSCRdpConnection * tsc_connection_get_name (TSC_CONNECTION (connection))); body = g_strdup_printf (_("You are connected to '%s' in fullscreen mode. Use Control+Alt+Enter to switch to and from windowed mode."), tsc_connection_get_name (TSC_CONNECTION (connection))); +#ifndef NOTIFY_CHECK_VERSION || if !NOTIFY_CHECK_VERSION(0,7,0) n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO, NULL); +#else + n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO); +#endif g_free (summary); g_free (body); Index: tsclient-2.0.2/src/plugins/default/tsc-vnc-connection.c =================================================================== --- tsclient-2.0.2.orig/src/plugins/default/tsc-vnc-connection.c +++ tsclient-2.0.2/src/plugins/default/tsc-vnc-connection.c @@ -39,7 +39,11 @@ notify_fullscreen_cb (TSCVncConnection * tsc_connection_get_name (TSC_CONNECTION (connection))); body = g_strdup_printf (_("You are connected to '%s' in fullscreen mode. Use F8 to switch to and from windowed mode."), tsc_connection_get_name (TSC_CONNECTION (connection))); +#ifndef NOTIFY_CHECK_VERSION || if !NOTIFY_CHECK_VERSION(0,7,0) n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO, NULL); +#else + n = notify_notification_new (summary, body, GTK_STOCK_DIALOG_INFO); +#endif g_free (summary); g_free (body);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor