~ubuntu-branches/ubuntu/raring/libnotify/raring-proposed

« back to all changes in this revision

Viewing changes to tools/notify-send.c

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Michael Biebl, Josselin Mouette
  • Date: 2012-03-27 22:24:42 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120327222442-itjikyuzqrfe2dwm
Tags: 0.7.5-1
[ Michael Biebl ]
* Change section of gir1.2-notify-0.7 to introspection.
* debian/watch: Track .xz tarballs.

[ Josselin Mouette ]
* Update repository URL.

[ Michael Biebl ]
* New upstream release.
* debian/patches/99_ltmain_as-needed.patch: Removed, no longer necessary.
* debian/rules: Remove clean-la.mk since we don't install any libtool .la
  files anymore.
* Drop Depends on libdbus-glib-1-dev from libnotify-dev.
* Add explicit Build-Depends on libgdk-pixbuf2.0-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
125
125
        static const char  *summary = NULL;
126
126
        char               *body;
127
127
        static const char  *type = NULL;
 
128
        static char        *app_name = NULL;
128
129
        static char        *icon_str = NULL;
129
130
        static char        *icons = NULL;
130
131
        static char       **n_text = NULL;
146
147
                 N_
147
148
                 ("Specifies the timeout in milliseconds at which to expire the "
148
149
                  "notification."), N_("TIME")},
 
150
                {"app-name", 'a', 0, G_OPTION_ARG_STRING, &app_name,
 
151
                 N_("Specifies the app name for the icon"), N_("APP_NAME")},
149
152
                {"icon", 'i', 0, G_OPTION_ARG_FILENAME, &icons,
150
153
                 N_("Specifies an icon filename or stock icon to display."),
151
154
                 N_("ICON[,ICON...]")},
226
229
        notify_notification_set_category (notify, type);
227
230
        notify_notification_set_urgency (notify, urgency);
228
231
        notify_notification_set_timeout (notify, expire_timeout);
 
232
        notify_notification_set_app_name (notify, app_name);
229
233
 
230
234
        g_free (body);
231
235