]> git.pld-linux.org Git - packages/xfce4-cpufreq-plugin.git/blame - xfce4-cpufreq-plugin-ui.patch
- release 3
[packages/xfce4-cpufreq-plugin.git] / xfce4-cpufreq-plugin-ui.patch
CommitLineData
1babd3c4
JR
1diff -ur xfce4-cpufreq-plugin-1.0.0-orig/configure.ac xfce4-cpufreq-plugin-1.0.0/configure.ac
2--- xfce4-cpufreq-plugin-1.0.0-orig/configure.ac 2011-01-23 10:32:40.000000000 +0100
3+++ xfce4-cpufreq-plugin-1.0.0/configure.ac 2011-03-01 12:34:20.130889238 +0100
4@@ -36,7 +36,7 @@
5 XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.6.0])
6 XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
7 XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.3.90])
8-XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-1.0], [4.3.90])
9+XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-1], [4.8.0])
10 XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.90])
11
12 AC_OUTPUT([
13diff -ur xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/Makefile.am xfce4-cpufreq-plugin-1.0.0/panel-plugin/Makefile.am
14--- xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/Makefile.am 2010-12-28 11:10:04.000000000 +0100
15+++ xfce4-cpufreq-plugin-1.0.0/panel-plugin/Makefile.am 2011-03-01 12:34:20.130889238 +0100
16@@ -5,13 +5,13 @@
17 -I$(top_srcdir) \
18 @LIBXFCE4PANEL_CFLAGS@ \
19 @LIBXFCE4UTIL_CFLAGS@ \
20- @LIBXFCEGUI4_CFLAGS@ \
21+ @LIBXFCE4UI_CFLAGS@ \
22 -DPACKAGE_LOCALE_DIR=\"$(localedir)\"
23
24 xfce4_cpufreq_plugin_LDADD = \
25 @LIBXFCE4PANEL_LIBS@ \
26 @LIBXFCE4UTIL_LIBS@ \
27- @LIBXFCEGUI4_LIBS@
28+ @LIBXFCE4UI_LIBS@
29
30 xfce4_cpufreq_plugin_SOURCES = \
31 xfce4-cpufreq-plugin.h \
32diff -ur xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-configure.c xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-configure.c
33--- xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-configure.c 2011-01-23 02:03:32.000000000 +0100
34+++ xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-configure.c 2011-03-01 12:34:20.134889238 +0100
35@@ -23,7 +23,7 @@
36 #include <config.h>
37 #endif
38
39-#include <libxfcegui4/libxfcegui4.h>
40+#include <libxfce4ui/libxfce4ui.h>
41 #include "xfce4-cpufreq-plugin.h"
42 #include "xfce4-cpufreq-configure.h"
43
44diff -ur xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-linux.c xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-linux.c
45--- xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-linux.c 2011-01-22 13:03:42.000000000 +0100
46+++ xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-linux.c 2011-03-01 12:35:41.434889238 +0100
47@@ -27,7 +27,7 @@
48 #include "xfce4-cpufreq-plugin.h"
49 #include "xfce4-cpufreq-linux.h"
50
51-#include <libxfcegui4/libxfcegui4.h>
52+#include <libxfce4ui/libxfce4ui.h>
53
54 #ifndef _
55 # include <libintl.h>
56@@ -410,7 +410,7 @@
57 {
58 if (cpuFreq->options->show_warning)
59 {
60- xfce_warn (_("Your system does not support cpufreq.\nThe applet only shows the current cpu frequency"));
61+ xfce_dialog_show_warning(NULL, NULL, _("Your system does not support cpufreq.\nThe applet only shows the current cpu frequency"));
62 cpuFreq->options->show_warning = FALSE;
63 }
64
65diff -ur xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-overview.c xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-overview.c
66--- xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-overview.c 2011-01-23 02:04:04.000000000 +0100
67+++ xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-overview.c 2011-03-01 12:34:20.136889238 +0100
68@@ -23,7 +23,7 @@
69 #include <config.h>
70 #endif
71
72-#include <libxfcegui4/libxfcegui4.h>
73+#include <libxfce4ui/libxfce4ui.h>
74 #ifndef _
75 # include <libintl.h>
76 # define _(String) gettext (String)
77diff -ur xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-plugin.c xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-plugin.c
78--- xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-plugin.c 2011-01-23 02:04:33.000000000 +0100
79+++ xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-plugin.c 2011-03-01 12:36:10.429889238 +0100
80@@ -26,7 +26,7 @@
81 #endif
82
83 #include <libxfce4util/libxfce4util.h>
84-#include <libxfcegui4/libxfcegui4.h>
85+#include <libxfce4ui/libxfce4ui.h>
86 #ifndef _
87 # include <libintl.h>
88 # define _(String) gettext (String)
89@@ -329,7 +329,7 @@
90
91 #ifdef __linux__
92 if (cpufreq_linux_init () == FALSE)
93- xfce_err (_("Your system is not configured correctly to support cpu frequency scaling !"));
94+ xfce_dialog_show_error (NULL, NULL, _("Your system is not configured correctly to support cpu frequency scaling !"));
95
96 gtk_widget_set_size_request (GTK_WIDGET (plugin), -1, -1);
97 cpufreq_widgets ();
98@@ -339,7 +339,7 @@
99 (GSourceFunc) cpufreq_update_cpus,
100 NULL);
101 #else
102- xfce_err (_("Your system is not supported yet !"));
103+ xfce_dialog_show_error (NULL, NULL, _("Your system is not supported yet !"));
104 #endif /* __linux__ */
105
106 g_signal_connect (plugin, "free-data", G_CALLBACK (cpufreq_free),
107diff -ur xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-plugin.h xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-plugin.h
108--- xfce4-cpufreq-plugin-1.0.0-orig/panel-plugin/xfce4-cpufreq-plugin.h 2011-01-22 13:04:29.000000000 +0100
109+++ xfce4-cpufreq-plugin-1.0.0/panel-plugin/xfce4-cpufreq-plugin.h 2011-03-01 12:34:20.138889238 +0100
110@@ -22,7 +22,7 @@
111 #define XFCE4_CPUFREQ_H
112
113 #include <gtk/gtk.h>
114-#include <libxfce4panel/xfce-panel-plugin.h>
115+#include <libxfce4panel/libxfce4panel.h>
116
117 typedef struct
118 {
This page took 0.05242 seconds and 4 git commands to generate.