aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* idoplaybackmenuitem: don't introduce even more magic numbersLars Uebernickel2014-04-231-18/+21
|
* idoplaybackmenuitem: center the controls horizontallyLars Uebernickel2014-04-231-52/+65
|
* idomediaplayermenuitem: don't hardcode widthLars Uebernickel2014-04-231-20/+19
| | | | | | To ensure a sane width and avoid changing width when the track changes, give track info labels a natural and maximum width of 25 characters.
* idomediaplayermenuitem: use small font for track info labelsLars Uebernickel2014-04-231-3/+19
|
* idobasicmenuitem: don't export update_image()Lars Uebernickel2014-04-041-1/+1
|
* idobasicmenuitem: update icon when the theme changesLars Uebernickel2014-04-041-30/+51
|
* idoplaybackmenuitem: propagate events in the menu keyrelease handlerLars Uebernickel2014-03-281-1/+1
|\ | | | | | | To issue a redraw on the menu items as well. Fixes lp:1297818. Fixes: 1297818
| * idoplaybackmenuitem: propagate events in the menu keyrelease handlerLars Uebernickel2014-03-261-1/+1
| | | | | | | | | | To issue a redraw on the menu items as well. Fixes lp:1297818.
* | expose idobasicmenuitem, a normal menu item that supports non-square icons Lars Uebernickel2014-03-286-74/+197
|\ \
| * | idobasicmenuitem: check return value of gtk_icon_info_get_filename() for NULLLars Uebernickel2014-03-281-6/+12
| | |
| * | idobasicmenuitem: support non-square iconsLars Uebernickel2014-03-271-1/+13
| | |
| * | Expose IdoBasicMenuItem as com.canonical.indicator.basicLars Uebernickel2014-03-273-0/+65
| | |
| * | idobasicmenuitem: put progress menu item into its own fileLars Uebernickel2014-03-266-92/+132
| |/
* | Highlight back/forward buttons when hovering them with the pointerLars Uebernickel2014-03-251-3/+10
| | | | | | | | | | | | Space bar still activates play/pause, unless the mouse pointer hovers another button.
* | idoplaybackmenuitem: put action names into array keyed by buttonsLars Uebernickel2014-03-251-42/+33
|/
* idoplaybackmenuitem: set active flag when player is launchingLars Uebernickel2014-03-241-11/+18
|\ | | | | | | The active flag is used to signal the theme that the spinner should animate. Using that flag is a bit weird, but it's consistent with GtkSpinner and thus doesn't require special handling in the theme. Fixes: 1231796
| * idoplaybackmenuitem: set active flag when player is launchingLars Uebernickel2014-03-241-9/+18
| | | | | | | | | | | | | | The active flag is used to signal the theme that the spinner should animate. Using that flag is a bit weird, but it's consistent with GtkSpinner and thus doesn't require special handling in the theme.
| * idoplaybackmenuitem: don't add .menu css class on the menu itemLars Uebernickel2014-03-241-2/+0
| | | | | | | | | | It's a menu item, not a menu.
* | 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
|