aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-24 20:37:28 -0500
committerTed Gould <ted@gould.cx>2010-03-24 20:37:28 -0500
commitf4e0f72761eeef5bf7cc250cc55813796c795d64 (patch)
tree0fc3b6d473c0cfb27aacd8941e09acc6e8ce1a8f
parente082f944179d142b643c65004de52f1983698ff9 (diff)
downloadayatana-indicator-messages-f4e0f72761eeef5bf7cc250cc55813796c795d64.tar.gz
ayatana-indicator-messages-f4e0f72761eeef5bf7cc250cc55813796c795d64.tar.bz2
ayatana-indicator-messages-f4e0f72761eeef5bf7cc250cc55813796c795d64.zip
Adding the new server to the seen database.
-rw-r--r--src/app-menu-item.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index a47c073..cbef924 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -31,6 +31,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "app-menu-item.h"
#include "dbus-data.h"
#include "default-applications.h"
+#include "seen-db.h"
enum {
COUNT_CHANGED,
@@ -309,6 +310,8 @@ desktop_cb (IndicateListener * listener, IndicateListenerServer * server, gchar
return;
}
+ seen_db_add(value);
+
priv->appinfo = G_APP_INFO(g_desktop_app_info_new_from_filename(value));
g_return_if_fail(priv->appinfo != NULL);