Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | messages-services: don't call g_object_unref with NULL | Lars Uebernickel | 2012-09-14 | 1 | -1/+2 | |
| | ||||||
* | Show menu separators between sections | Lars Uebernickel | 2012-09-13 | 1 | -18/+8 | |
| | | | | | | | | | | | | | Previously, gtk didn't support changing the menu model on an already-created GtkMenu. Since IndicatorObject doesn't allow changing the GtkMenu it exports to the panel, IndicatorMessages created a menu with a single section, into which the menu from the service was inserted (and removed when the service died). This led to seperators not being shown, because separators are only shown between top-level sections. Gtk now has gtk_menu_shell_bind_model, which allows us to get rid of top-level wrapper section. | |||||
* | messages-service: update chat section when an app is removed | Lars Uebernickel | 2012-09-06 | 1 | -3/+11 | |
| | ||||||
* | messages-service: fix merge error | Lars Uebernickel | 2012-09-06 | 1 | -7/+5 | |
| | | | | | | | Check whether no apps are left in remove_section instead of remove_application, so that it is also done when an AppSection emits "destroy". This is a result of improper merging of the watch-desktop-files and hide-indicator branches. | |||||
* | Merge lp:~larsu/indicator-messages/watch-desktop-files | Lars Uebernickel | 2012-09-06 | 3 | -48/+128 | |
|\ | ||||||
| * | messages-service.c: remove redundant g_hash_table_remove | Lars Uebernickel | 2012-09-05 | 1 | -1/+0 | |
| | | ||||||
| * | app-section.c: remove unused function app_section_get_name | Lars Uebernickel | 2012-09-05 | 2 | -12/+0 | |
| | | ||||||
| * | app-section.c: make destroy_signal static | Lars Uebernickel | 2012-09-05 | 1 | -1/+1 | |
| | | ||||||
| * | app-section: remove unused private member | Lars Uebernickel | 2012-09-05 | 2 | -11/+0 | |
| | | ||||||
| * | Watch desktop files for changes | Lars Uebernickel | 2012-09-05 | 2 | -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. | |||||
* | | Hide the indicator when no application is configured to use it.. Fixes: ↵ | Lars Uebernickel | 2012-09-05 | 2 | -54/+71 | |
|\ \ | |/ |/| | | | https://bugs.launchpad.net/bugs/661059, https://bugs.launchpad.net/bugs/1045039. Approved by jenkins, Charles Kerr. | |||||
| * | indicator-messages.c: don't call menu_items_changed directly | Lars Uebernickel | 2012-09-05 | 1 | -31/+38 | |
| | | ||||||
| * | Hide indicator when no applications are configured to use it | Lars Uebernickel | 2012-09-04 | 2 | -64/+74 | |
| | | | | | | | | | | | | This is done by removing the header item from the menu model in the service. On the panel side, call indicator_object_hide() if the recevied menu is empty. | |||||
* | | ido-detail-label: factor common code out of set_text and _count | Lars Uebernickel | 2012-09-04 | 1 | -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 calls | Lars Uebernickel | 2012-09-04 | 1 | -0/+4 | |
| | | ||||||
* | | im-source-menu-item: ellipsize label when it's longer than 40 em | Lars Uebernickel | 2012-09-03 | 1 | -0/+3 | |
| | | | | | | | | | | Also make sure that the label is left-aligned when ellipsized. | |||||
* | | im-source-menu-item: draw lozenges around counts | Lars Uebernickel | 2012-09-03 | 4 | -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 string | Lars Uebernickel | 2012-09-03 | 1 | -15/+46 | |
|/ | ||||||
* | Merge lp:~larsu/messaging-menu/fix-icons | Lars Uebernickel | 2012-08-27 | 8 | -8/+485 | |
|\ | ||||||
| * | ido_menu_item_set_menu_item: make sure g_free isn't called with dangling pointer | Lars Uebernickel | 2012-08-27 | 1 | -1/+1 | |
| | | ||||||
| * | IdoMenuItem: clear target pointer in dispose | Lars Uebernickel | 2012-08-27 | 1 | -1/+4 | |
| | | ||||||
| * | Increase spacing between icons and labels | Lars Uebernickel | 2012-08-27 | 3 | -1/+3 | |
| | | ||||||
| * | 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 | |
| | | ||||||
* | | Make sure the icon is cleared also when a source is removed | Lars Uebernickel | 2012-08-27 | 1 | -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 attention | Lars Uebernickel | 2012-08-27 | 1 | -1/+26 | |
|/ | ||||||
* | 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 | |
| | |