aboutsummaryrefslogtreecommitdiff
path: root/src/indicator-messages.c
Commit message (Collapse)AuthorAgeFilesLines
* Show icons in application and source menu itemsLars Uebernickel2012-08-211-6/+19
| | | | | | | Everthing goes through GIcon now, using g_icon_{to,new_for}_string to set a string attribute on the menu item. The attribute is prefixed x-canonical- for now.
* Use a custom menu item for message source menu itemsLars Uebernickel2012-08-211-0/+2
|
* Merge Charles' branch: fixes a memory and a signal leak; various neat cleanupsLars Uebernickel2012-08-201-5/+3
|\ | | | | | | | | | | The "add sanity check" commit is not included, as app-section is not public. This merge also removes the remaining sanity checks in app-section.
| * in indicator-messages' indicator_messages_accessible_desc_updated(), don't ↵Charles Kerr2012-08-191-0/+2
| | | | | | | | leak the entries GList
| * in indicator-messages's dispose(), use g_clear_object()Charles Kerr2012-08-191-5/+1
| |
* | Use a custom menu item for application itemsLars Uebernickel2012-08-201-0/+6
|/ | | | | | | | | | | | | This introduces ImAppMenuItem: a menu item which shows a small triangle next to an application's name if the associated app is running. The running state is communicated to the menu by giving the "launch" action a boolean state. This depends on a patch to gtk which creates custom menu items from gtk_menu_new_from_model when the x-canonical-type attribute is set on a menu item in the model.
* Set accessible description (statically to "Messages" for now)Lars Uebernickel2012-08-161-5/+27
|
* panel plugin: remove unused global variables and structLars Uebernickel2012-08-161-14/+1
|
* Use the old libindicator APILars Uebernickel2012-08-161-13/+90
| | | | | | | indicator-messages is the only indicator that communicates with its service through GMenuModel. This patch keeps the GMenuModel stuff, but creates the GtkMenu in the plugin instead of relying on unity-panel-service.
* Use gdbus-codegen also for the server side messages serviceLars Uebernickel2012-06-271-1/+0
|
* indicator-messages.c: remove messages-service proxyLars Uebernickel2012-06-271-267/+0
| | | | | | | It wasn't used anymore, all menu-related things are communicated via gmenu now. Regression: accessible description
* Remove dependency on menu-factoryLars Uebernickel2012-06-271-11/+13
| | | | | | libindicator now has GMenuModel support (unreleased), so indicator-messages doesn't need to create gtk menus anymore.
* Port to gmenu, act II - the indicator objectLars Uebernickel2012-05-251-354/+31
| | | | | | | Ports the indicator object itself to listen to exported gactions and gmenumodels. The menu creation itself is outsourced to a new dependency: menu-factory-gtk.
* Remove gtk2 supportLars Uebernickel2012-05-071-69/+0
|
* Change i18n header to gi18n-lib.h to translate the accessible description. ↵Gabor Kelemen2012-03-171-1/+1
| | | | LP: #957525
* Revert r244, there's only one paddingLars Uebernickel2012-03-081-1/+1
|
* Removing some GTK3 code, won't look as nice on GTK2, but ehTed Gould2012-02-101-0/+12
|
* Use floor instead of round for lozenge position, better err on them being ↵Lars Uebernickel2012-02-101-1/+1
| | | | too large
* Merge trunkLars Uebernickel2012-02-101-0/+4
|\
| * Fixing dbusmenu-gtk include pathsTed Gould2012-01-311-5/+0
| |
| * Added macro to gtk_hbox_new fix per charles' advice (and fixed tabination).Allan LeSage2012-01-231-0/+4
| |
| * Fix for gtk_hbox_new, werror on deprecated.Allan LeSage2012-01-231-1/+1
| |
* | Fix left margin of indicator itemsLars Uebernickel2012-02-101-1/+1
| |
* | Only draw right items as lozenges if they contain a countLars Uebernickel2012-02-031-0/+13
| |
* | Don't draw empty lozengesLars Uebernickel2012-02-031-0/+3
| |
* | Make minimum width of lozenge that of two charactersLars Uebernickel2012-02-031-0/+2
| |
* | Switch to new dbusmenu includesLars Uebernickel2012-02-031-5/+0
| |
* | Align status icons with app iconsLars Uebernickel2012-01-221-15/+12
| | | | | | | | | | | | | | This breaks down for sources which don't advertise themselves as an "indicator-item" (e.g. Thunderbird's "Compose New Message" and "Contacts"), because they keep being indented like a normal menu item.
* | Pixel-align the lozenge text to make it less blurryLars Uebernickel2012-01-221-3/+2
| |
* | Center lozenge text verticallyLars Uebernickel2012-01-221-0/+4
| | | | | | | | | | | | This ignores the label's padding and alignments, but they aren't used right now.
* | Get the menu's current font size instead of hard coding it to 12ptLars Uebernickel2012-01-221-12/+14
| |
* | Don't force lozenges to have the same widthLars Uebernickel2012-01-221-4/+0
| | | | | | | | | | | | | | | | This makes the menu more consistent with the mockups at https://wiki.ubuntu.com/MessagingMenu and https://wiki.ubuntu.com/MenuLayout
* | Use gtk_box_new instead of gtk_hbox_newLars Uebernickel2012-01-221-1/+1
|/ | | | | | gtk_hbox_new is deprecated and using it broke the build with -Werror=deprecated-declarations, which seems to be enabled by default.
* Export the indicator name hintMarco Trevisan (Treviño)2011-11-081-0/+11
| | | | Using the PACKAGE config.h variable.
* Memory leak on pixbufsTed Gould2011-09-211-8/+4
|\
| * Memory leaks fixesChow Loong Jin2011-01-211-8/+4
| |
* | Don't look up a style value we're not usingTed Gould2011-08-241-3/+0
| |
* | Switching the padding to the toggle-spacing like the image menu item and ↵Ted Gould2011-08-241-4/+4
| | | | | | | | using it at creation of the box
* | Remove an unused hbox in the application menu itemTed Gould2011-08-241-5/+1
| |
* | WhitespaceAndrea Cimitan2011-08-171-0/+1
| |
* | WhitespaceAndrea Cimitan2011-08-171-1/+0
| |
* | Fixes draw renderings in gtk+3Andrea Cimitan2011-08-171-8/+55
| |
* | Removing the menu item from the indicatorTed Gould2011-07-211-48/+0
| |
* | Switching to calling a method instead of clearing in the indictor.Ted Gould2011-07-211-2/+12
| |
* | Don't use g_return_if_fail in middle-click cb functionMarco Trevisan (Treviño)2011-07-211-1/+2
| | | | | | | | We don't need an assertion there.
* | X and Y pointer position aren't supported anymore by libindicatorMarco Trevisan (Treviño)2011-07-211-4/+3
| | | | | | | | Dropping them!
* | Added a "Clear notifications" menu as well...Marco Trevisan (Treviño)2011-07-191-4/+52
| |
* | Reset the un-attention icon on secondary-activate over indicatorMarco Trevisan (Treviño)2011-07-111-0/+15
| | | | | | | | | | When the messaging menu is in the "attention" state, middle-clicking over the indicator-messages will clear the attention icon.
* | allow building with gtk3Michael Terry2011-05-261-0/+6
| |
* | Removing an unneeded strdupTed Gould2011-02-171-2/+2
| |