aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Watch desktop files for changesLars Uebernickel2012-09-052-26/+129
| | | | | | | | This introduces a slightly clumsy "destroy" signal for AppSection to notify outsiders that the desktop file was deleted. This will do for now, but a larger refactoring which pulls all the desktop-file-reading code out of appsection is in order.
* ido-detail-label: factor common code out of set_text and _countLars Uebernickel2012-09-041-25/+25
| | | | | | | | This was only half-heartedly done with the _clear function, which left a dangling pointer. Contributed by Charles Kerr. Thanks!
* ido-detail-label: chain up dispose and finalize callsLars Uebernickel2012-09-041-0/+4
|
* im-source-menu-item: ellipsize label when it's longer than 40 emLars Uebernickel2012-09-031-0/+3
| | | | | Also make sure that the label is left-aligned when ellipsized.
* im-source-menu-item: draw lozenges around countsLars Uebernickel2012-09-034-74/+458
| | | | | | A new widget class IdoDetailLabel is introduced, which can display either a string or a count. Counts are drawn as lozenges.
* im-source-menu-item: refactor setting detail stringLars Uebernickel2012-09-031-15/+46
|
* Merge lp:~larsu/messaging-menu/fix-iconsLars Uebernickel2012-08-278-8/+485
|\
| * ido_menu_item_set_menu_item: make sure g_free isn't called with dangling pointerLars Uebernickel2012-08-271-1/+1
| |
| * IdoMenuItem: clear target pointer in disposeLars Uebernickel2012-08-271-1/+4
| |
| * Increase spacing between icons and labelsLars Uebernickel2012-08-273-1/+3
| |
| * Indent application shortcutsLars Uebernickel2012-08-271-4/+15
| | | | | | | | | | | | This is done by setting their icon to the empty string, which IdoMenuItem interprets as "show a clear icon".
| * IdoMenuItem: don't try to set state on stateless actionsLars Uebernickel2012-08-272-3/+10
| |
| * Show icons on status menu itemsLars Uebernickel2012-08-275-5/+460
| | | | | | | | | | | | | | This introduces IdoMenuItem, a GtkCheckMenuItem that can also show icons. This should go into libido at some point. Also, Im{App,Source}MenuItem could derive from it so that the GMenuItem-setting logic is only in one place.
| * Remove unused #includeLars Uebernickel2012-08-271-1/+0
| |
* | Make sure the icon is cleared also when a source is removedLars Uebernickel2012-08-271-7/+0
| | | | | | | | | | | | The code was there, but an superfluous condition made the function return early.
* | Bring back the blue icon when a source is drawing attentionLars Uebernickel2012-08-271-1/+26
|/
* Plug memory leaks: return value of g_menu_model_get_item_link is transfer fullLars Uebernickel2012-08-252-1/+11
|
* Fix a memory leak and potential crash: ref_sink the widget, not the GMenuLars Uebernickel2012-08-251-1/+2
|
* Make sure the time shown in the menu is always currentLars Uebernickel2012-08-241-1/+33
|
* Don't spam debug messagesLars Uebernickel2012-08-241-1/+0
|
* Request showing the chat section also when the app is not runningLars Uebernickel2012-08-241-2/+1
|
* Make the panel plugin reconnect to the service when it restartsLars Uebernickel2012-08-231-36/+56
|
* Merge lp:~charlesk/indicator-messages/towards-q-redesignLars Uebernickel2012-08-211-2/+7
|\ | | | | | | | | Plugs several memory leaks in app-section.c
| * in app-section.c's activate_cb(), don't leak the GError if we can't launchCharles Kerr2012-08-211-2/+4
| |
| * in app-section's app_section_set_app_info(), don't leak the nicks' actionsCharles Kerr2012-08-211-0/+1
| |
| * in app-section.c's dispose(), clear the muxer objectCharles Kerr2012-08-211-0/+2
| |
* | Update remaining license headersLars Uebernickel2012-08-212-2/+4
| |
* | Show icons in application and source menu itemsLars Uebernickel2012-08-217-20/+104
| | | | | | | | | | | | | | 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.
* | ImSourceMenuItem: show source detail (count or time)Lars Uebernickel2012-08-211-3/+113
|/
* Use a custom menu item for message source menu itemsLars Uebernickel2012-08-214-0/+336
|
* Insert new app items right before the "Clear" itemLars Uebernickel2012-08-201-1/+1
| | | | | | This still isn't as specified by design (should be alphabetically), but at least "Clear" is below the app items now.
* Merge Charles' branch: fixes a memory and a signal leak; various neat cleanupsLars Uebernickel2012-08-204-25/+14
|\ | | | | | | | | | | 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 messages-service.c, make the functions create_action_group() and ↵Charles Kerr2012-08-191-4/+4
| | | | | | | | create_status_section() static
| * when removing an application in messages-service, disconnect the ↵Charles Kerr2012-08-191-0/+1
| | | | | | | | notify::uses-chat-status handler
| * 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
| |
| * add sanity checks to args passed in the public APICharles Kerr2012-08-191-1/+9
| |
| * in app-section.c's dispose(), use g_clear_object() for priv.ids and priv.keyfileCharles Kerr2012-08-191-10/+2
| |
| * add lars as co-author of app-sectionCharles Kerr2012-08-192-2/+4
| |
* | app-section: rename remote_menu to source_menuLars Uebernickel2012-08-201-6/+6
| | | | | | | | | | Because it contains the message sources.
* | Export both static shortcuts also when the app is runningLars Uebernickel2012-08-201-19/+30
| |
* | Use a custom menu item for application itemsLars Uebernickel2012-08-205-5/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | messages-service: disconnect all signals when removing a sectionLars Uebernickel2012-08-171-0/+1
|/
* Remove unused #definesLars Uebernickel2012-08-161-16/+1
|
* Set accessible description (statically to "Messages" for now)Lars Uebernickel2012-08-163-5/+29
|
* 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.
* X-MessagingMenu-UsesChatStatus --> X-MessagingMenu-UsesChatSectionLars Uebernickel2012-06-291-1/+1
|
* Only show chat section when necessaryLars Uebernickel2012-06-273-4/+110
| | | | | | | | The chat section is only shown when an application that is registered to use it is running. Applications are registered if their desktop file contains: X-MessagingMenu-UsesChatStatus: true
* Remove header from status sectionLars Uebernickel2012-06-271-1/+1
|