From cb1da8552b56959f8f1c59a17fd4341f2aee611f Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Mon, 29 Aug 2011 11:11:43 -0400 Subject: * Simplified the indicator by removing the dbus service. Still needs: - Clear button - Message limit * GTK3 is having issues with the multi-line menu items. Adding a bit of a hack to calculate the size of the menu and resize it when an item is added. Still has some problems, but better than before. Will probably cause other issues that will need to be addressed later. --- src/dbus-shared.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/dbus-shared.h (limited to 'src/dbus-shared.h') diff --git a/src/dbus-shared.h b/src/dbus-shared.h deleted file mode 100644 index da93e73..0000000 --- a/src/dbus-shared.h +++ /dev/null @@ -1,32 +0,0 @@ -/* -An indicator to display recent notifications. - -Adapted from: indicator-datetime/src/dbus-shared.c by - Ted Gould - -This program is free software: you can redistribute it and/or modify it -under the terms of the GNU General Public License version 3, as published -by the Free Software Foundation. - -This program is distributed in the hope that it will be useful, but -WITHOUT ANY WARRANTY; without even the implied warranties of -MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along -with this program. If not, see . -*/ - -#define SERVICE_NAME "com.launchpad.RecentNotifications.indicator" -#define SERVICE_IFACE "com.launchpad.RecentNotifications.indicator.service" -#define SERVICE_OBJ "/com/launchpad/RecentNotifications/indicator/service" -#define SERVICE_VERSION 1 - -#define MENU_OBJ "/com/launchpad/RecentNotifications/indicator/menu" - -#define NOTIFICATION_MENUITEM_TYPE "notification-menuitem" -#define NOTIFICATION_MENUITEM_PROP_APP_NAME "notification-menuitem-prop-app-name" -#define NOTIFICATION_MENUITEM_PROP_APP_ICON "notification-menuitem-prop-app-icon" -#define NOTIFICATION_MENUITEM_PROP_SUMMARY "notification-menuitem-prop-summary" -#define NOTIFICATION_MENUITEM_PROP_BODY "notification-menuitem-prop-body" -#define NOTIFICATION_MENUITEM_PROP_TIMESTAMP_STRING "notification-menuitem-prop-timestamp-string" -- cgit v1.2.3