diff options
author | Xan Lopez <xlopez@igalia.com> | 2011-08-29 21:49:08 +0800 |
---|---|---|
committer | Xan Lopez <xlopez@igalia.com> | 2011-08-29 21:49:08 +0800 |
commit | 540c0c0ac46399462dfad2c3fd0a50a412882307 (patch) | |
tree | e030bf92f223f7b35e30b3e06a430b9a82e8d9ba /src/ephy-main.c | |
parent | e6785d3ccc5a5a7c933a50b1a224fc01ee741c9c (diff) | |
download | gsoc2013-epiphany-540c0c0ac46399462dfad2c3fd0a50a412882307.tar gsoc2013-epiphany-540c0c0ac46399462dfad2c3fd0a50a412882307.tar.gz gsoc2013-epiphany-540c0c0ac46399462dfad2c3fd0a50a412882307.tar.bz2 gsoc2013-epiphany-540c0c0ac46399462dfad2c3fd0a50a412882307.tar.lz gsoc2013-epiphany-540c0c0ac46399462dfad2c3fd0a50a412882307.tar.xz gsoc2013-epiphany-540c0c0ac46399462dfad2c3fd0a50a412882307.tar.zst gsoc2013-epiphany-540c0c0ac46399462dfad2c3fd0a50a412882307.zip |
Show a notification when the newly created web-app is ready to be used
This will probably go away in 3.4 when the new dash design is
introduced, but for now it's the best we have.
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c index c74b2e7ef..19b4100f8 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -35,6 +35,7 @@ #include "eggsmclient.h" #include <libxml/xmlversion.h> +#include <libnotify/notify.h> #include <glib/gi18n.h> @@ -261,6 +262,8 @@ main (int argc, */ LIBXML_TEST_VERSION; + notify_init (PACKAGE); + /* If we're given -remote arguments, translate them */ if (argc >= 2 && strcmp (argv[1], "-remote") == 0) { const char *opening, *closing; @@ -463,6 +466,9 @@ main (int argc, /* Shutdown */ g_object_unref (ephy_shell); + if (notify_is_initted ()) + notify_uninit (); + ephy_file_save_accels (); ephy_state_save (); ephy_settings_shutdown (); |