summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-03 19:58:58 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-02-03 19:58:58 +0100
commit7d6a5ce913aa14d33a885b4e67439944bdb6e39f (patch)
treebd802e5b40aacaf976e97beca42b7f9c741b3336 /plugins
parent4f649a4f0afd87bd9612fbc856e631e352e4595d (diff)
renamed notifications options to more appropriate names
Diffstat (limited to 'plugins')
-rw-r--r--plugins/gtkui/gtkplaylist.c4
-rw-r--r--plugins/gtkui/gtkui.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/gtkui/gtkplaylist.c b/plugins/gtkui/gtkplaylist.c
index fc38fe84..d69e3bfb 100644
--- a/plugins/gtkui/gtkplaylist.c
+++ b/plugins/gtkui/gtkplaylist.c
@@ -1851,11 +1851,11 @@ update_win_title_idle (gpointer data) {
// show notification
#if HAVE_NOTIFY
- if (to != -1 && deadbeef->conf_get_int ("libnotify.enable", 0)) {
+ if (to != -1 && deadbeef->conf_get_int ("gtkui.notify.enable", 0)) {
DB_playItem_t *track = deadbeef->pl_get_for_idx (to);
if (track) {
char cmd [1024];
- deadbeef->pl_format_title (track, -1, cmd, sizeof (cmd), -1, deadbeef->conf_get_str ("libnotify.format", NOTIFY_DEFAULT_FORMAT));
+ deadbeef->pl_format_title (track, -1, cmd, sizeof (cmd), -1, deadbeef->conf_get_str ("gtkui.notify.format", NOTIFY_DEFAULT_FORMAT));
if (notify_is_initted ()) {
if (notification) {
notify_notification_close (notification, NULL);
diff --git a/plugins/gtkui/gtkui.c b/plugins/gtkui/gtkui.c
index e24047e3..96fd8c5e 100644
--- a/plugins/gtkui/gtkui.c
+++ b/plugins/gtkui/gtkui.c
@@ -515,8 +515,8 @@ gtkui_load (DB_functions_t *api) {
static const char settings_dlg[] =
"property \"Run gtk_init with --sync (debug mode)\" checkbox gtkui.enable 0;\n"
#if HAVE_NOTIFY
- "property \"Enable OSD notifications\" checkbox libnotify.enable 0;\n"
- "property \"Notification format\" entry libnotify.format \"" NOTIFY_DEFAULT_FORMAT "\";\n"
+ "property \"Enable OSD notifications\" checkbox gtkui.notify.enable 0;\n"
+ "property \"Notification format\" entry gtkui.notify.format \"" NOTIFY_DEFAULT_FORMAT "\";\n"
#endif
;