aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* idoapplicationmenuitem: request correct size for empty iconsLars Uebernickel2014-03-201-0/+4
| | | | | | Empty icons request more space than GTK_ICON_SIZE_MENU, which makes menu items unnecessarily high.
* Put some space between scale and min/max buttonsLars Uebernickel2014-03-121-1/+1
|
* Remove toggle-size-allocate handlerLars Uebernickel2014-03-121-15/+0
| | | | | | The variable it set isn't used anymore. Scale menu items don't ever have a toggle mark.
* idoscalemenuitem: use the scale's actual size allocation for eventsLars Uebernickel2014-03-121-95/+33
| | | | | | | | | Instead of calculating it ourselves in size_allocate, which used deprecated style functions to find out about paddings and got it wrong in some cases. Also, clicking anywhere to the left or right of the scale now activates the min and max buttons, respectively.
* Build with -Wno-error=deprecated-declarations.Ken VanDine2014-01-071-2/+1
|
* No error for deprecationsTed Gould2013-12-181-1/+2
|
* IdoScaleMenuItem: allow changing value with left/right and +/- keysLars Uebernickel2013-11-281-2/+72
|\
| * Also allow using + and - keys to change the sliderLars Uebernickel2013-10-241-0/+4
| |
| * IdoScaleMenuItem: intercept left and right keysLars Uebernickel2013-10-211-0/+78
| |
* | idoactionhelper: remove potentially stray idle source when finalizingLars Uebernickel2013-11-271-1/+6
| |
* | ido_calendar_menu_item_new_from_model: initialize local variables with NULLLars Uebernickel2013-11-261-2/+2
| | | | | | | | | | | | Both of these variables will be passed to g_free() without checking whether g_menu_item_get_attribute() failed.
* | ido_user_menu_item: remove superfluous unrefLars Uebernickel2013-11-061-1/+0
| | | | | | | | | | The return value of g_file_icon_get_file() is transer-none.
* | idoscalemenuitem: disconnect signal from parentLars Uebernickel2013-10-311-20/+13
| | | | | | | | | | | | | | | | | | This fixes a crash: the widget installed a handler for the parent's hide signal, but was destroyed before the parent without disconnecting the signal. This patch also moves the connection into GktWidget.parent_set instead of connecting to the notify signal.
* | IdoUserMenuItem: only allow file icons as avatarsLars Uebernickel2013-10-281-105/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | In practice, all avatars are file icons. This restriction allowed for quite some cleanup, as we don't need to worry about symbolic icons and themes aymore. Note: this patch removes the warning when the user avatar image was not found. This is a common enough case that the warning just clutters up logs. Approved by Charles Kerr, PS Jenkins bot.
| * | ido_user_menu_item_set_icon_from_file_icon: don't initialize width and heightLars Uebernickel2013-10-281-2/+3
| | |
| * | ido_user_menu_item_set_icon_from_file_icon: free fileLars Uebernickel2013-10-281-0/+1
| | |
| * | Don't export ido_user_menu_item_set_icon_from_file_icon()Lars Uebernickel2013-10-271-1/+1
| | |
| * | IdoUserMenuItem: only allow file icons as avatarsLars Uebernickel2013-10-261-105/+53
| |/ | | | | | | | | | | | | | | | | In practice, all avatars are file icons. This restriction allowed for quite some cleanup, as we don't need to worry about symbolic icons and themes aymore. Note: this patch removes the warning when the user avatar image was not found. This is a common enough case that the warning just clutters up logs.
* | Unref serialized_iconLars Uebernickel2013-10-221-0/+2
| |
* | Don't call gtk_image_clear() on a NULL widgetLars Uebernickel2013-10-221-1/+1
| |
* | Make IdoSwitchMenuItem accessible from gtk_menu_new_from_modelLars Uebernickel2013-10-223-0/+68
| |
* | IdoSwitchMenuItem: deprecate get_content_area and add set_{label,icon}Lars Uebernickel2013-10-222-1/+84
|/
* idoscalemenuitem: request a minimum width of 200pxLars Uebernickel2013-10-101-0/+2
| | | | | Same as IdoPlaybackMenuItem.
* idousermenuitem: center user avatars and adjust spacingLars Uebernickel2013-09-301-3/+2
|
* idoscalemenuitem: don't update the action state when the action state changesLars Uebernickel2013-09-251-9/+59
| | | | | | | | | | | | | GtkRange has the same weird semantics for its "value-changed" signal that the check menu items have: it is emitted not only on user interaction, but also when gtk_range_set_value() is called. The handler to "value-changed" updates the action. gtk_range_set_value() is called when the action notifies about a state change. Loop, meet loop. This patch works around that by adding a "value-changed" to IdoScaleMenuItem that is only emitted when the user changes the slider's value.
* Revert slider movement when scrolling by defaultLars Uebernickel2013-09-151-1/+4
|
* Library functions taking GVariant params need to ref_sink() and unref() ↵Ted Gould2013-08-131-0/+4
| | | | always. (reason #24 to not like GVariant)
* Add IdoSourceMenuItemLars Uebernickel2013-08-138-2/+793
| | | | | A menu item showing messaging menu sources.
* Add IdoApplicationMenuItemLars Uebernickel2013-08-134-2/+239
| | | | | | A menu item representing an application. It can show whether the application is running or not (based on action state).
* implement IdoLocationMenuItem as a subclass of IdoTimeStampMenuItemCharles Kerr2013-07-253-91/+34
|
* add support for com.canonical.indicator.alarm menuitems.Charles Kerr2013-07-254-0/+156
|
* implement IdoAppointmentMenuItem as a specialization of IdoTimeStampMenuItemCharles Kerr2013-07-252-327/+16
|
* add IdoTimeStampMenuItem, a base class for appointments, locations, and alarmsCharles Kerr2013-07-252-0/+325
|
* subclass IdoAppointmentMenuItem from IdoBasicMenuItemCharles Kerr2013-07-252-69/+9
|
* add a 6px margin between the icon and primary text iff the icon is visibleCharles Kerr2013-07-251-0/+6
|
* subclass IdoLocationMenuItem from IdoBasicMenuItemCharles Kerr2013-07-252-85/+12
|
* add make the type macro for IdoBasicMenuItem follow the standard naming schemeCharles Kerr2013-07-252-6/+6
|
* don't hardcode making com.canonical.indicator.progress insensitive; its ↵Charles Kerr2013-07-241-8/+1
| | | | sensitivity should follow its action's sensitivity.
* add a menuitem that renders com.canonical.indicator.progress as laid out in ↵Charles Kerr2013-07-244-0/+475
| | | | https://wiki.ubuntu.com/Power#Phone
* Fix broken comments for the introspection scanner.Ted Gould2013-07-034-4/+4
|\ | | | | | | Approved by Charles Kerr, PS Jenkins bot.
| * Fixing some small introspection errorsTed Gould2013-07-024-4/+4
| |
* | fix IdoLocationMenuItem label alignment issue reported by ted.Charles Kerr2013-07-021-6/+19
|\ \ | |/ |/| | | Approved by PS Jenkins bot, Ted Gould.
| * in idolocationmenuitem, fix slight alignment issue in the city labelCharles Kerr2013-07-021-6/+19
| |
* | 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
|\