summaryrefslogtreecommitdiff
path: root/applets/brightness/brightness-applet.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-12-13 20:31:08 +0300
committerMonsta <[email protected]>2015-12-13 20:31:08 +0300
commitc93d8d867ad5268e14a8d5882755dbf852fb834a (patch)
tree519a1432fbbd1a18857259af1cad05473d52004d /applets/brightness/brightness-applet.c
parentc3f9cd68ca97aa7f1b7c8f17913a3e11d25c1ad0 (diff)
downloadmate-power-manager-c93d8d867ad5268e14a8d5882755dbf852fb834a.tar.bz2
mate-power-manager-c93d8d867ad5268e14a8d5882755dbf852fb834a.tar.xz
applets: dropped some unused stuff
Diffstat (limited to 'applets/brightness/brightness-applet.c')
-rw-r--r--applets/brightness/brightness-applet.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c
index 1589902..d411273 100644
--- a/applets/brightness/brightness-applet.c
+++ b/applets/brightness/brightness-applet.c
@@ -76,6 +76,10 @@ typedef struct{
GType gpm_brightness_applet_get_type (void);
+#define GPM_DBUS_SERVICE "org.mate.PowerManager"
+#define GPM_DBUS_PATH_BACKLIGHT "/org/mate/PowerManager/Backlight"
+#define GPM_DBUS_INTERFACE_BACKLIGHT "org.mate.PowerManager.Backlight"
+
static void gpm_brightness_applet_class_init (GpmBrightnessAppletClass *klass);
static void gpm_brightness_applet_init (GpmBrightnessApplet *applet);
@@ -928,7 +932,7 @@ gpm_applet_dialog_about_cb (GtkAction *action, gpointer data)
mate_about_dialog_set_translator_credits (about, translator_credits);
mate_about_dialog_set_logo (about, logo);
mate_about_dialog_set_license (about, license_trans);
- mate_about_dialog_set_website (about, GPM_HOMEPAGE_URL);
+ mate_about_dialog_set_website (about, "http://www.mate-desktop.org/");
g_signal_connect (G_OBJECT(about), "response",
G_CALLBACK(gtk_widget_destroy), NULL);