Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Indent application shortcuts | Lars Uebernickel | 2012-08-27 | 1 | -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 actions | Lars Uebernickel | 2012-08-27 | 2 | -3/+10 |
| | |||||
* | Show icons on status menu items | Lars Uebernickel | 2012-08-27 | 5 | -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 #include | Lars Uebernickel | 2012-08-27 | 1 | -1/+0 |
| | |||||
* | Plug memory leaks: return value of g_menu_model_get_item_link is transfer full | Lars Uebernickel | 2012-08-25 | 2 | -1/+11 |
| | |||||
* | Fix a memory leak and potential crash: ref_sink the widget, not the GMenu | Lars Uebernickel | 2012-08-25 | 1 | -1/+2 |
| | |||||
* | Make sure the time shown in the menu is always current | Lars Uebernickel | 2012-08-24 | 1 | -1/+33 |
| | |||||
* | Don't spam debug messages | Lars Uebernickel | 2012-08-24 | 1 | -1/+0 |
| | |||||
* | Request showing the chat section also when the app is not running | Lars Uebernickel | 2012-08-24 | 1 | -2/+1 |
| | |||||
* | Make the panel plugin reconnect to the service when it restarts | Lars Uebernickel | 2012-08-23 | 1 | -36/+56 |
| | |||||
* | Merge lp:~charlesk/indicator-messages/towards-q-redesign | Lars Uebernickel | 2012-08-21 | 1 | -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 launch | Charles Kerr | 2012-08-21 | 1 | -2/+4 |
| | | |||||
| * | in app-section's app_section_set_app_info(), don't leak the nicks' actions | Charles Kerr | 2012-08-21 | 1 | -0/+1 |
| | | |||||
| * | in app-section.c's dispose(), clear the muxer object | Charles Kerr | 2012-08-21 | 1 | -0/+2 |
| | | |||||
* | | Update remaining license headers | Lars Uebernickel | 2012-08-21 | 2 | -2/+4 |
| | | |||||
* | | Show icons in application and source menu items | Lars Uebernickel | 2012-08-21 | 7 | -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 Uebernickel | 2012-08-21 | 1 | -3/+113 |
|/ | |||||
* | Use a custom menu item for message source menu items | Lars Uebernickel | 2012-08-21 | 4 | -0/+336 |
| | |||||
* | Insert new app items right before the "Clear" item | Lars Uebernickel | 2012-08-20 | 1 | -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 cleanups | Lars Uebernickel | 2012-08-20 | 4 | -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 Kerr | 2012-08-19 | 1 | -4/+4 |
| | | | | | | | | create_status_section() static | ||||
| * | when removing an application in messages-service, disconnect the ↵ | Charles Kerr | 2012-08-19 | 1 | -0/+1 |
| | | | | | | | | notify::uses-chat-status handler | ||||
| * | in indicator-messages' indicator_messages_accessible_desc_updated(), don't ↵ | Charles Kerr | 2012-08-19 | 1 | -0/+2 |
| | | | | | | | | leak the entries GList | ||||
| * | in indicator-messages's dispose(), use g_clear_object() | Charles Kerr | 2012-08-19 | 1 | -5/+1 |
| | | |||||
| * | add sanity checks to args passed in the public API | Charles Kerr | 2012-08-19 | 1 | -1/+9 |
| | | |||||
| * | in app-section.c's dispose(), use g_clear_object() for priv.ids and priv.keyfile | Charles Kerr | 2012-08-19 | 1 | -10/+2 |
| | | |||||
| * | add lars as co-author of app-section | Charles Kerr | 2012-08-19 | 2 | -2/+4 |
| | | |||||
* | | app-section: rename remote_menu to source_menu | Lars Uebernickel | 2012-08-20 | 1 | -6/+6 |
| | | | | | | | | | | Because it contains the message sources. | ||||
* | | Export both static shortcuts also when the app is running | Lars Uebernickel | 2012-08-20 | 1 | -19/+30 |
| | | |||||
* | | Use a custom menu item for application items | Lars Uebernickel | 2012-08-20 | 5 | -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 section | Lars Uebernickel | 2012-08-17 | 1 | -0/+1 |
|/ | |||||
* | Remove unused #defines | Lars Uebernickel | 2012-08-16 | 1 | -16/+1 |
| | |||||
* | Set accessible description (statically to "Messages" for now) | Lars Uebernickel | 2012-08-16 | 3 | -5/+29 |
| | |||||
* | panel plugin: remove unused global variables and struct | Lars Uebernickel | 2012-08-16 | 1 | -14/+1 |
| | |||||
* | Use the old libindicator API | Lars Uebernickel | 2012-08-16 | 1 | -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-UsesChatSection | Lars Uebernickel | 2012-06-29 | 1 | -1/+1 |
| | |||||
* | Only show chat section when necessary | Lars Uebernickel | 2012-06-27 | 3 | -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 section | Lars Uebernickel | 2012-06-27 | 1 | -1/+1 |
| | |||||
* | Sync chat status from and to clients | Lars Uebernickel | 2012-06-27 | 2 | -7/+52 |
| | |||||
* | messages-service.xml: remove unused methods and signals | Lars Uebernickel | 2012-06-27 | 1 | -16/+0 |
| | |||||
* | Use gdbus-codegen also for the server side messages service | Lars Uebernickel | 2012-06-27 | 5 | -604/+39 |
| | |||||
* | indicator-messages.c: remove messages-service proxy | Lars Uebernickel | 2012-06-27 | 1 | -267/+0 |
| | | | | | | | It wasn't used anymore, all menu-related things are communicated via gmenu now. Regression: accessible description | ||||
* | Add toplevel menu | Lars Uebernickel | 2012-06-27 | 1 | -2/+21 |
| | | | | | | | | The toplevel menu represents the indicator itself. It has one item with a submenu, which is the indicator's popup menu. The action that is set on the toplevel will never be activated, but its state is used to indicate "draws-attention". | ||||
* | Set status action when requested | Lars Uebernickel | 2012-06-27 | 1 | -0/+12 |
| | |||||
* | Disable "Clear" initially | Lars Uebernickel | 2012-06-27 | 1 | -6/+25 |
| | |||||
* | Make "Clear" work again | Lars Uebernickel | 2012-06-27 | 3 | -3/+51 |
| | |||||
* | Add draws-attention flag to source actions | Lars Uebernickel | 2012-06-27 | 3 | -15/+180 |
| | | | | | | AppSections watch those flags for associated sources and mux them into a draws-attention property for the whole section. | ||||
* | Remove dependency on menu-factory | Lars Uebernickel | 2012-06-27 | 1 | -11/+13 |
| | | | | | | libindicator now has GMenuModel support (unreleased), so indicator-messages doesn't need to create gtk menus anymore. | ||||
* | app-section.c: get rid of unnecessary local item | Lars Uebernickel | 2012-06-26 | 1 | -4/+1 |
| | |||||
* | messages-service: move gmenu utility functions into gmenuutils.[ch] | Lars Uebernickel | 2012-06-26 | 5 | -57/+131 |
| | | | | | As a neat side-effect, this fixes a memory leak in app-section.c. |