aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* in ido_user_menu_item_set_icon(), remove a g_warning iff icon is NULLCharles Kerr2013-07-011-1/+2
|
* don't load the icon twiceCharles Kerr2013-07-011-54/+107
|
* if a user's avatar icon file doesn't exist or isn't readable, fall back to ↵Charles Kerr2013-07-011-1/+49
| | | | the default avatar
* fix a copy-paste bug in the last commit's GuestMenuItem codeCharles Kerr2013-06-271-1/+1
|
* silence console warnings when a NULL filename is passed into ↵Charles Kerr2013-06-231-2/+2
| | | | ido_user_menu_item_set_icon_from_filename()
* add ido_guest_menu_item_new_for_model()Charles Kerr2013-06-233-60/+128
|
* add an 'icon' property to idousermenuitemCharles Kerr2013-06-232-64/+76
|\
| * add missing G_BEGIN_DECLS callCharles Kerr2012-11-061-0/+2
| |
* | ido_playback_menu_item_parent_key_press_event: be more explicitLars Uebernickel2013-06-191-1/+1
| |
* | idoplaybackmenuitem: remove redundant 'else'Lars Uebernickel2013-06-191-2/+4
| |
* | idoplaybackmenuitem: warn before crashing in g_str_equalLars Uebernickel2013-06-191-0/+4
| |
* | ido_playback_menu_item_get_button_at_pos: add ascii blueprintLars Uebernickel2013-06-191-0/+8
| |
* | ido_media_player_menu_item_state_changed: declare constant variables as constLars Uebernickel2013-06-191-4/+4
| |
* | idomediaplayermenuitem: allow non-local album artLars Uebernickel2013-06-191-27/+75
| |
* | idomediaplayermenuitem: make album art size a #defineLars Uebernickel2013-06-191-1/+3
| |
* | idoplaybackmenuitem.c: mark internal functions as staticLars Uebernickel2013-06-191-6/+3
| |
* | Merge trunkLars Uebernickel2013-06-198-6/+1310
|\ \
| * | copyediting: fix copy/paste errors in the documentationCharles Kerr2013-06-171-4/+4
| | |
| * | in IdoAppointmentMenuItem's update_timestamp_label(), clear the label text ↵Charles Kerr2013-06-171-5/+8
| | | | | | | | | | | | if either the time or format properties are unset
| * | add documentation for the public API callsCharles Kerr2013-06-172-4/+69
| | |
| * | when building location and appointment menuitems from a GMenu, grab all the ↵Charles Kerr2013-06-172-17/+60
| | | | | | | | | | | | parameters and then pass them to object_new() as a block to avoid them getting set twice -- once with the constructor's default values, and then once afterwards
| * | in idoappointmentmenuitem.c, fix startup issue arising from updating the ↵Charles Kerr2013-06-171-4/+6
| | | | | | | | | | | | timestamp label when the strftime format string hasn't been initialized yet.
| * | fix time_t issue in idocalendarmenuitem's gmenu codeCharles Kerr2013-06-141-5/+5
| | |
| * | in idolocationmenuitem, assume seconds are shown in the timestamp when the ↵Charles Kerr2013-06-141-3/+3
| | | | | | | | | | | | time format string includes '%s', '%S', '%T', '%X', or '%c'
| * | add ted's name to idoappointmentmenuitem.c for create_color_icon_pixbuf()Charles Kerr2013-06-141-0/+1
| | |
| * | remove g_message that leaked into last commitCharles Kerr2013-06-142-4/+2
| | |
| * | add calendar, location, and appointment menuitems to the IDO factoryCharles Kerr2013-06-142-1/+17
| | |
| * | add ido_calendar_menu_item_new_from_model()Charles Kerr2013-06-142-4/+180
| | |
| * | add location menuitemCharles Kerr2013-06-142-0/+507
| | |
| * | add appointment menuitemCharles Kerr2013-06-142-0/+493
| | |
* | | IdoPlaybackMenuItem: listen to state changes of the 'play' actionLars Uebernickel2013-06-171-1/+74
| | | | | | | | | | | | | | | So that the play button can be updated.
* | | Add IdoPlaybackMenuItemLars Uebernickel2013-06-174-2/+1641
| | | | | | | | | | | | | | | | | | | | | A menu item that can control playback of a media player. Adapted from transport-widget.c formerly found in lp:indicator-sound.
* | | Add IdoMediaPlayerMenuItemLars Uebernickel2013-06-124-2/+376
|/ / | | | | | | | | | | | | | | A menu item that shows a media player application and metadata about the currently running song. Adapted from metadata-widget.c formerly found in lp:indicator-sound.
* | idoscalemenuitem: look "{min,max}-icon" on the GMenuItemLars Uebernickel2013-06-071-9/+9
| | | | | | | | | | 'primary' and 'secondary' might be confusing.
* | Add support for creating scale menu items from a menu modelLars Uebernickel2013-05-313-0/+134
| |
* | Add ido_action_helper_change_stateLars Uebernickel2013-05-312-0/+28
| |
* | idoscalemenuitem: make the scale expand and fill in the menu itemLars Uebernickel2013-05-311-3/+3
| |
* | ido_user_menu_item_new_from_model: fix docstringLars Uebernickel2013-05-311-2/+4
| |
* | Move crate_user_menu_item into idousermenuitem.cLars Uebernickel2013-05-273-98/+102
| | | | | | | | | | | | We expect to have quite a few custom widgets. Having them all in idomenuitemfactory.c would clutter that file up too much.
* | IdoActionHelper: document signals and propertiesLars Uebernickel2013-05-271-0/+39
| |
* | GtkMenuItemFactory -> UbuntuMenuItemFactoryLars Uebernickel2013-05-241-8/+9
| |
* | Create IdoUserMenuItems for indicator.user-menu-itemLars Uebernickel2013-05-231-1/+105
| | | | | | | | | | | | Only used by the indicator-session/ng branch right now. Doesn't create guest menu items yet.
* | Merge IdoUserMenuItem branchLars Uebernickel2013-05-223-1/+426
|\ \ | | | | | | | | | | | | | | | This branch contains IdoUserMenuItem, a menu item that is used by indicator-session to display an individual user in the user switcher.
| * | rename idousermenuitem's "icon" property as "icon-filename" for a little ↵Charles Kerr2013-03-272-18/+20
| | | | | | | | | | | | more clarity.
| * | in ido_user_menu_item_primitive_draw_cb_gtk_3(), remove deprecated use of ↵Charles Kerr2013-03-261-5/+10
| | | | | | | | | | | | gtk_widget_get_style(), gtk_widget_get_state()
| * | add properties to IdoUserMenuItem and remove its dependencies on ↵Charles Kerr2013-03-262-122/+194
| | | | | | | | | | | | DbusmenuMenuitem
| * | rename user-widget.[ch] to idousermenuitem.[ch]. Not building yet, next step ↵Charles Kerr2013-03-264-78/+77
| | | | | | | | | | | | is to decouple from dbusmenu.
| * | add user-widget.[ch] from indicator-session's trunkCharles Kerr2013-03-262-0/+347
| | |
* | | Add IdoActionHelperLars Uebernickel2013-05-223-2/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This class contains some functionality that all menu items that are bound to an action need. It listens for action additions and removals, changes in enabled state, and state changes. It is _not_ intended to be used by specific menu items, but rather as the glue in IdoMenuItemFactory, to bind a widget to an action. An alternative way to reach the same goal is to have an IdoMenuItem base class which contains the common functionality. This would have required touching all existing menu items (slider, user menu item, media player items) and would have added more complexity to them. It is similar in spirit to GtkActionHelper (a private class in gtk), but very different in API and implementation.
* | | Add IdoMenuItemFactoryLars Uebernickel2013-05-224-2/+102
|/ / | | | | | | | | | | | | | | | | | | | | | | It's implementing the GtkMenuItemFactory extension point (only available in Ubuntu's version of gtk+). It doesn't create any menu items yet. The extension point must be registered before calling gtk_menu_new_from_model() with a menu model that references any of the custom menu items ido will provide. Registering means the type must exist in the type system. This patch adds an ido_init() which does that. Consumers of libido are required to call this function from now on.