Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | idobasicmenuitem: don't export update_image() | Lars Uebernickel | 2014-04-04 | 1 | -1/+1 |
| | |||||
* | idobasicmenuitem: update icon when the theme changes | Lars Uebernickel | 2014-04-04 | 1 | -30/+51 |
| | |||||
* | idoplaybackmenuitem: propagate events in the menu keyrelease handler | Lars Uebernickel | 2014-03-28 | 1 | -1/+1 |
|\ | | | | | | | To issue a redraw on the menu items as well. Fixes lp:1297818. Fixes: 1297818 | ||||
| * | idoplaybackmenuitem: propagate events in the menu keyrelease handler | Lars Uebernickel | 2014-03-26 | 1 | -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 Uebernickel | 2014-03-28 | 6 | -74/+197 |
|\ \ | |||||
| * | | idobasicmenuitem: check return value of gtk_icon_info_get_filename() for NULL | Lars Uebernickel | 2014-03-28 | 1 | -6/+12 |
| | | | |||||
| * | | idobasicmenuitem: support non-square icons | Lars Uebernickel | 2014-03-27 | 1 | -1/+13 |
| | | | |||||
| * | | Expose IdoBasicMenuItem as com.canonical.indicator.basic | Lars Uebernickel | 2014-03-27 | 3 | -0/+65 |
| | | | |||||
| * | | idobasicmenuitem: put progress menu item into its own file | Lars Uebernickel | 2014-03-26 | 6 | -92/+132 |
| |/ | |||||
* | | Highlight back/forward buttons when hovering them with the pointer | Lars Uebernickel | 2014-03-25 | 1 | -3/+10 |
| | | | | | | | | | | | | Space bar still activates play/pause, unless the mouse pointer hovers another button. | ||||
* | | idoplaybackmenuitem: put action names into array keyed by buttons | Lars Uebernickel | 2014-03-25 | 1 | -42/+33 |
|/ | |||||
* | idoplaybackmenuitem: set active flag when player is launching | Lars Uebernickel | 2014-03-24 | 1 | -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 launching | Lars Uebernickel | 2014-03-24 | 1 | -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 item | Lars Uebernickel | 2014-03-24 | 1 | -2/+0 |
| | | | | | | | | | | It's a menu item, not a menu. | ||||
* | | idoapplicationmenuitem: request correct size for empty icons | Lars Uebernickel | 2014-03-20 | 1 | -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 buttons | Lars Uebernickel | 2014-03-12 | 1 | -1/+1 |
| | |||||
* | Remove toggle-size-allocate handler | Lars Uebernickel | 2014-03-12 | 1 | -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 events | Lars Uebernickel | 2014-03-12 | 1 | -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 VanDine | 2014-01-07 | 1 | -2/+1 |
| | |||||
* | No error for deprecations | Ted Gould | 2013-12-18 | 1 | -1/+2 |
| | |||||
* | IdoScaleMenuItem: allow changing value with left/right and +/- keys | Lars Uebernickel | 2013-11-28 | 1 | -2/+72 |
|\ | |||||
| * | Also allow using + and - keys to change the slider | Lars Uebernickel | 2013-10-24 | 1 | -0/+4 |
| | | |||||
| * | IdoScaleMenuItem: intercept left and right keys | Lars Uebernickel | 2013-10-21 | 1 | -0/+78 |
| | | |||||
* | | idoactionhelper: remove potentially stray idle source when finalizing | Lars Uebernickel | 2013-11-27 | 1 | -1/+6 |
| | | |||||
* | | ido_calendar_menu_item_new_from_model: initialize local variables with NULL | Lars Uebernickel | 2013-11-26 | 1 | -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 unref | Lars Uebernickel | 2013-11-06 | 1 | -1/+0 |
| | | | | | | | | | | The return value of g_file_icon_get_file() is transer-none. | ||||
* | | idoscalemenuitem: disconnect signal from parent | Lars Uebernickel | 2013-10-31 | 1 | -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 avatars | Lars Uebernickel | 2013-10-28 | 1 | -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 height | Lars Uebernickel | 2013-10-28 | 1 | -2/+3 |
| | | | |||||
| * | | ido_user_menu_item_set_icon_from_file_icon: free file | Lars Uebernickel | 2013-10-28 | 1 | -0/+1 |
| | | | |||||
| * | | Don't export ido_user_menu_item_set_icon_from_file_icon() | Lars Uebernickel | 2013-10-27 | 1 | -1/+1 |
| | | | |||||
| * | | IdoUserMenuItem: only allow file icons as avatars | Lars Uebernickel | 2013-10-26 | 1 | -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_icon | Lars Uebernickel | 2013-10-22 | 1 | -0/+2 |
| | | |||||
* | | Don't call gtk_image_clear() on a NULL widget | Lars Uebernickel | 2013-10-22 | 1 | -1/+1 |
| | | |||||
* | | Make IdoSwitchMenuItem accessible from gtk_menu_new_from_model | Lars Uebernickel | 2013-10-22 | 3 | -0/+68 |
| | | |||||
* | | IdoSwitchMenuItem: deprecate get_content_area and add set_{label,icon} | Lars Uebernickel | 2013-10-22 | 2 | -1/+84 |
|/ | |||||
* | idoscalemenuitem: request a minimum width of 200px | Lars Uebernickel | 2013-10-10 | 1 | -0/+2 |
| | | | | | Same as IdoPlaybackMenuItem. | ||||
* | idousermenuitem: center user avatars and adjust spacing | Lars Uebernickel | 2013-09-30 | 1 | -3/+2 |
| | |||||
* | idoscalemenuitem: don't update the action state when the action state changes | Lars Uebernickel | 2013-09-25 | 1 | -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 default | Lars Uebernickel | 2013-09-15 | 1 | -1/+4 |
| | |||||
* | Library functions taking GVariant params need to ref_sink() and unref() ↵ | Ted Gould | 2013-08-13 | 1 | -0/+4 |
| | | | | always. (reason #24 to not like GVariant) | ||||
* | Add IdoSourceMenuItem | Lars Uebernickel | 2013-08-13 | 8 | -2/+793 |
| | | | | | A menu item showing messaging menu sources. | ||||
* | Add IdoApplicationMenuItem | Lars Uebernickel | 2013-08-13 | 4 | -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 IdoTimeStampMenuItem | Charles Kerr | 2013-07-25 | 3 | -91/+34 |
| | |||||
* | add support for com.canonical.indicator.alarm menuitems. | Charles Kerr | 2013-07-25 | 4 | -0/+156 |
| | |||||
* | implement IdoAppointmentMenuItem as a specialization of IdoTimeStampMenuItem | Charles Kerr | 2013-07-25 | 2 | -327/+16 |
| | |||||
* | add IdoTimeStampMenuItem, a base class for appointments, locations, and alarms | Charles Kerr | 2013-07-25 | 2 | -0/+325 |
| | |||||
* | subclass IdoAppointmentMenuItem from IdoBasicMenuItem | Charles Kerr | 2013-07-25 | 2 | -69/+9 |
| | |||||
* | add a 6px margin between the icon and primary text iff the icon is visible | Charles Kerr | 2013-07-25 | 1 | -0/+6 |
| | |||||
* | subclass IdoLocationMenuItem from IdoBasicMenuItem | Charles Kerr | 2013-07-25 | 2 | -85/+12 |
| |