aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* * Add option to clear the notifications using middle click on the ↵Jason Conti2017-03-151-2/+16
| | | | | | notification icon. * Bump version.
* * Need to escape the url otherwise certain acceptable characters can break theJason Conti2016-08-291-1/+7
| | | | | markup parsing in the GtkLabel. * Bump version.
* * When updating the notification count on the clear item, deactivate the menuJason Conti2016-08-291-0/+4
| | | | | | shell if that count is zero. This avoids leaving a single clear menuitem on screen after all the notifications have been dismissed. * Bump version.
* * Comment the new functions in notification-menuitem.cJason Conti2016-08-291-2/+68
| | | | * Bump version.
* * Make sure the button event started and ended on the close image before weJason Conti2016-08-282-4/+12
| | | | dismiss the notification
* * Added back hide_on_activate = false on the notification menuitemJason Conti2016-08-281-2/+18
| | | | | | | | | - Enables using space when in keyboard navigation to avoid closing the menu * Added custom close icons for selected and deselected notifications - Since we don't set PRELIGHT, needed a way to show the selected notification during keyboard navigation - gtk-close is deprecated anyway, so might as well use our own - Can be replaced by the icon theme to look more appropriate
* * Scan the notification body for links and mark them up, escape everything elseJason Conti2016-08-272-4/+34
|
* * Import urlregex files to handle matching and expanding urlsJason Conti2016-08-274-1/+307
|
* * Added support for visiting links within notificationsJason Conti2016-08-252-24/+155
| | | | | | | - Currently inserting two test links into each message (no link parsing) - Changes how notifications are highlighted and closed + Removed prelight on the menuitem so that the links render correctly + Must click the X to close a notification now
* * Fix a serious memory leak in notification_new_from_dbus_message.Jason Conti2015-10-231-0/+8
| | | | * Bump version.
* * Add button argument to notification menuitem clicked signalJason Conti2014-05-313-7/+7
| | | | * Replace deprecated stock icon api
* * Use icon-name instead of pixbufs to set the indicator iconJason Conti2014-01-152-132/+3
| | | | * Move the default icons to datadir/pixmaps/
* * New GSetting:Jason Conti2014-01-151-1/+50
| | | | - "blacklist" - discard notifications matching appname
* * Import patch for eavesdrop support required by recent dbus versions.Jason Conti2013-02-171-1/+1
| | | | - Drop this patch if using an older version that doesn't require eavesdropping.
* * Add GSettings support.Jason Conti2013-02-171-7/+65
| | | | | - hide-indicator key to show/hide the indicator - max-items key to change the maximum number of displayed notifications
* * Use style-updated intead of style-set to track style changes on GtkImage,Jason Conti2012-04-041-3/+3
| | | | since style-set is deprecated and seems to be broken for GtkImage.
* * Implement secondary-activate to dismiss or reactivate the unread iconJason Conti2012-02-291-10/+42
| | | | on middle click.
* * Emit the clicked signal when the keyboard activates a menuitem.Jason Conti2012-02-261-0/+17
| | | | | - If using the spacebar, the menu won't hide - If using enter, the menu hides
* * Move the button events to notification menuitem.Jason Conti2012-02-263-88/+69
| | | | | * Add a clicked event to the notification menuitem. * Drop the old new_notification_menuitem code.
* * Move the notification menuitem to a separate class.Jason Conti2012-02-264-1/+137
|
* * Rename notification_is_volume to notification_is_private.Jason Conti2012-02-263-9/+18
| | | | | | * Add filters for indicator-sound and brightness notifications. * Strip whitespace leading and trailing whitespace from the summary and body.
* * Don't hide the menu when removing a notification.Jason Conti2012-02-251-20/+45
|
* * Remove a notification when clicked. Unfortunately this hides the menuJason Conti2012-02-251-1/+60
| | | | unless the item is activated with the spacebar, so needs fixing.
* * Implement the clear itemJason Conti2012-02-251-0/+60
| | | | * Add safety checks to most of the functions
* * Reorganize and comment indicator-notifications.cJason Conti2012-02-251-212/+230
|
* * Add a clear item that also keeps a notification count.Jason Conti2012-02-251-9/+45
| | | | - Still need to implement the clear action
* * Reintroduce the visible item limit, currently hard-coded to 5Jason Conti2012-02-251-6/+53
|
* * Add notification_is_empty to catch useless notifications such asJason Conti2012-02-253-6/+13
| | | | brightness and volume, which are not always properly marked.
* * Drop old dbus service file.Jason Conti2012-02-252-17/+4
| | | | | * Clean up configure.ac * Drop gtk2 build
* * Disable the resize_menu code.Jason Conti2011-09-081-1/+1
|
* * Make sure to unref the dbus-spy when the indicator is disposed.Jason Conti2011-08-291-0/+5
|
* * Switch to gtk_menu_shell_prepend so new messages appear on top.Jason Conti2011-08-291-1/+1
|
* * Simplified the indicator by removing the dbus service. Still needs:Jason Conti2011-08-299-780/+112
| | | | | | | | | - 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.
* Revert previous commit, the reposition fix isn't working.Jason Conti2011-08-211-4/+1
|
* * Reposition the menu when it becomes visible, otherwise parts will beJason Conti2011-08-201-1/+4
| | | | cut off when popped up near the edge of the screen
* * Fix XML service substitution so it works from a separate build directoryJason Conti2011-08-191-4/+4
|
* * Add a WITH_GTK (2, 3) definition to handle some of the minor differencesJason Conti2011-08-193-9/+28
| | | | | | | between gtk2 and 3 * Replace gtk_hbox_new with gtk_box_new in the gtk3 version * GtkLabel has a new (and much nicer) wrapping mechanism - use gtk_label_set_max_width_chars in gtk3 version
* Modified the logging mechanism in the service. The one I stole from ↵Jason Conti2011-05-271-47/+50
| | | | indicator-applet was inconsistant. Sometimes messages would be logged, sometimes they wouldn't. This time took one from lightdm that just uses stdio, and it seems to work much more consistantly.
* Bumping version and removing some unnecessary dependencies.Jason Conti2011-05-192-2/+0
|
* Had to prefix the status icons with indicator- because otherwise they can ↵Jason Conti2011-05-181-9/+66
| | | | conflict with the obsolete icons in the recent-notifications package, which I should probably remove.
* Updating icon path to correct location in preparation for proper install.Jason Conti2011-05-181-1/+1
|
* Checking for, and discarding volume notifications, since they contain no ↵Jason Conti2011-05-173-1/+28
| | | | useful information (which is stupid, why can't they provide a summary (Volume Up/Down) and body (Current volume level X%).
* Adding a timestamp to the messages. Currently sends a timestamp string ↵Jason Conti2011-05-175-32/+61
| | | | across dbus, but ideally it will send an integer, and the indicator can decide how to display it (time ago in words, custom time format, etc).
* Removed the placeholder filter item for now. It serves no purpose with a ↵Jason Conti2011-05-171-17/+28
| | | | limit of 5 items. Added a empty item to signify when the menu has 0 notification, instead of just leaving a blank space.
* Proof of concept complete, should probably add timestamps next.Jason Conti2011-05-162-6/+35
|
* A bit of renaming with the dbusmenu properties.Jason Conti2011-05-163-6/+17
|
* Building the menuitem, now works the same as before. Next comes markup. ↵Jason Conti2011-05-161-0/+13
| | | | Should I markup the text server side or add a property to the dbusmenu item for each field, and build the menuitem client side from the properties?
* Should have checked my syntax errors before that last commit. Fixed now.Jason Conti2011-05-161-4/+4
|
* Adding a new notification menuitem type. It isn't currently a custom ↵Jason Conti2011-05-163-2/+18
| | | | menuitem, but may need to be eventually.
* Update indicator icon to unread when a message is received, and to read when ↵Jason Conti2011-05-154-11/+30
| | | | the menu is hidden.