Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Include fallback icon names | Lars Uebernickel | 2012-09-28 | 1 | -3/+12 |
| | | | | | And use g_icon_new_from_string in the indicator to make it load fallbacks. | ||||
* | Request LARGE_TOOLBAR icons for the panel | Lars Uebernickel | 2012-09-25 | 1 | -3/+2 |
| | | | | | To make it consistent with the other indicators. | ||||
* | Use indicator-message icons with chat status | Lars Uebernickel | 2012-09-18 | 1 | -6/+33 |
| | | | | | | | | | | Changes the state of the "messages" action from a boolean (draws-attention) to a string (icon-name). This has the added benefit that more logic is moved from the plugin into the service. It also fixes an edge case: the messaging menu didn't have the blue icon after the service restarted (if anything was drawing attention). | ||||
* | 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. | ||||
* | 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 | 1 | -50/+49 |
| | | | | | | 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. | ||||
* | Merge lp:~larsu/messaging-menu/fix-icons | Lars Uebernickel | 2012-08-27 | 1 | -1/+2 |
|\ | |||||
| * | Show icons on status menu items | Lars Uebernickel | 2012-08-27 | 1 | -0/+2 |
| | | | | | | | | | | | | | | 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 |
| | | |||||
* | | Bring back the blue icon when a source is drawing attention | Lars Uebernickel | 2012-08-27 | 1 | -1/+26 |
|/ | |||||
* | Fix a memory leak and potential crash: ref_sink the widget, not the GMenu | Lars Uebernickel | 2012-08-25 | 1 | -1/+2 |
| | |||||
* | Make the panel plugin reconnect to the service when it restarts | Lars Uebernickel | 2012-08-23 | 1 | -36/+56 |
| | |||||
* | Update remaining license headers | Lars Uebernickel | 2012-08-21 | 1 | -1/+2 |
| | |||||
* | Show icons in application and source menu items | Lars Uebernickel | 2012-08-21 | 1 | -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 items | Lars Uebernickel | 2012-08-21 | 1 | -0/+2 |
| | |||||
* | Merge Charles' branch: fixes a memory and a signal leak; various neat cleanups | Lars Uebernickel | 2012-08-20 | 1 | -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 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 |
| | | |||||
* | | Use a custom menu item for application items | Lars Uebernickel | 2012-08-20 | 1 | -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 Uebernickel | 2012-08-16 | 1 | -5/+27 |
| | |||||
* | 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. | ||||
* | Use gdbus-codegen also for the server side messages service | Lars Uebernickel | 2012-06-27 | 1 | -1/+0 |
| | |||||
* | 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 | ||||
* | 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. | ||||
* | Port to gmenu, act II - the indicator object | Lars Uebernickel | 2012-05-25 | 1 | -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 support | Lars Uebernickel | 2012-05-07 | 1 | -69/+0 |
| | |||||
* | Change i18n header to gi18n-lib.h to translate the accessible description. ↵ | Gabor Kelemen | 2012-03-17 | 1 | -1/+1 |
| | | | | LP: #957525 | ||||
* | Revert r244, there's only one padding | Lars Uebernickel | 2012-03-08 | 1 | -1/+1 |
| | |||||
* | Removing some GTK3 code, won't look as nice on GTK2, but eh | Ted Gould | 2012-02-10 | 1 | -0/+12 |
| | |||||
* | Use floor instead of round for lozenge position, better err on them being ↵ | Lars Uebernickel | 2012-02-10 | 1 | -1/+1 |
| | | | | too large | ||||
* | Merge trunk | Lars Uebernickel | 2012-02-10 | 1 | -0/+4 |
|\ | |||||
| * | Fixing dbusmenu-gtk include paths | Ted Gould | 2012-01-31 | 1 | -5/+0 |
| | | |||||
| * | Added macro to gtk_hbox_new fix per charles' advice (and fixed tabination). | Allan LeSage | 2012-01-23 | 1 | -0/+4 |
| | | |||||
| * | Fix for gtk_hbox_new, werror on deprecated. | Allan LeSage | 2012-01-23 | 1 | -1/+1 |
| | | |||||
* | | Fix left margin of indicator items | Lars Uebernickel | 2012-02-10 | 1 | -1/+1 |
| | | |||||
* | | Only draw right items as lozenges if they contain a count | Lars Uebernickel | 2012-02-03 | 1 | -0/+13 |
| | | |||||
* | | Don't draw empty lozenges | Lars Uebernickel | 2012-02-03 | 1 | -0/+3 |
| | | |||||
* | | Make minimum width of lozenge that of two characters | Lars Uebernickel | 2012-02-03 | 1 | -0/+2 |
| | | |||||
* | | Switch to new dbusmenu includes | Lars Uebernickel | 2012-02-03 | 1 | -5/+0 |
| | | |||||
* | | Align status icons with app icons | Lars Uebernickel | 2012-01-22 | 1 | -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 blurry | Lars Uebernickel | 2012-01-22 | 1 | -3/+2 |
| | | |||||
* | | Center lozenge text vertically | Lars Uebernickel | 2012-01-22 | 1 | -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 12pt | Lars Uebernickel | 2012-01-22 | 1 | -12/+14 |
| | | |||||
* | | Don't force lozenges to have the same width | Lars Uebernickel | 2012-01-22 | 1 | -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_new | Lars Uebernickel | 2012-01-22 | 1 | -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 hint | Marco Trevisan (Treviño) | 2011-11-08 | 1 | -0/+11 |
| | | | | Using the PACKAGE config.h variable. | ||||
* | Memory leak on pixbufs | Ted Gould | 2011-09-21 | 1 | -8/+4 |
|\ | |||||
| * | Memory leaks fixes | Chow Loong Jin | 2011-01-21 | 1 | -8/+4 |
| | | |||||
* | | Don't look up a style value we're not using | Ted Gould | 2011-08-24 | 1 | -3/+0 |
| | |