aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* IdoCalendarMenuItem: add crash guard on ido_calendar_menu_item_key_pressMarco Trevisan (TreviƱo)2015-07-221-0/+2
| | | | | It's quite weird that data is NULL at this point (considering how the callback is initialized), but it does happen, so it's just better to warn here instead of crashing.
* idoscalemenuitem: set focus flag on scaleLars Uebernickel2015-03-101-0/+2
| | | | | So that it gets themed correctly when the menu item is selected.
* idoscalemenuitem: translate motion event coordinatesLars Uebernickel2015-03-101-0/+9
| | | | | Fixes hover theming.
* idoplaybackmenuitem: don't set the spinner classLars Uebernickel2015-01-301-2/+0
| | | | | | | Spinners are drawn in css now and hidden when they're inactive, but the playback controls should always be shown. Themes will need to style them separately.
* idoscalemenuitem: remove extraneous lineLars Uebernickel2015-01-211-1/+0
|
* idoscalemenuitem: only forward button events that are inside the scaleLars Uebernickel2015-01-211-5/+23
|
* idoscalemenuitem: don't translate event coordinatesLars Uebernickel2015-01-211-50/+5
| | | | | This is not needed anymore.
* Filter out symbols in the libraryTed Gould2014-11-031-3/+4
|
* Update tags for newer GObject Introsepction ScannerTed Gould2014-10-162-3/+3
|
* 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.