aboutsummaryrefslogtreecommitdiff
path: root/src/idoscalemenuitem.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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
| |
* | 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.
* idoscalemenuitem: request a minimum width of 200pxLars Uebernickel2013-10-101-0/+2
| | | | | Same as IdoPlaybackMenuItem.
* 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
|
* Fixing some small introspection errorsTed Gould2013-07-021-1/+1
|
* 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-311-0/+127
|
* idoscalemenuitem: make the scale expand and fill in the menu itemLars Uebernickel2013-05-311-3/+3
|
* Add introspection and Vala support to IDORobert Ancell2012-12-141-22/+62
|
* Merge lp:~larsu/ido/remove-slider-hack-953757Lars Uebernickel2012-08-271-20/+0
|\ | | | | | | | | Removes slider hacks.
| * Remove slider mouse button hackLars Uebernickel2012-03-161-20/+0
| | | | | | | | | | This should be a global setting for all sliders and fixed in gtk.
* | require gtk3Charles Kerr2012-05-071-32/+0
|/
* fix regression that broke mousewheel operations on the idoscaleCharles Kerr2012-03-141-0/+2
|
* alter mouse button 2 clicks to behave like mouse button 2 clicks for lp bug ↵Charles Kerr2012-03-121-0/+20
| | | | | | | #898611. This solution was taken from gvc-channel-bar.c in gnome-control-center. The idea of cribbing from g-c-c came from Christian Giordano in duplicate lp bug #932919 where he suggested "using the same behavior the volume slider has in the Sound System Settings."
* add primary-clicked and secondary-clicked signals for lp bug #921065Charles Kerr2012-03-101-31/+87
|
* small code cleanup in update_packing()Charles Kerr2012-03-091-43/+19
|
* Fix LP Bug #906050 by removing idoscalemenuitem's offscreen proxy.Charles Kerr2012-03-091-51/+0
| | | | | The offscreen proxy was added last September to fix bug #804009, but while testing in 12.04b1 I'm not able to reproduce that issue even after removing the offscreen proxy. I don't want to regress 804009 so I'll ask for more eyeballs on this one.
* don't override widget_class.state_changed in idoscalemenuitem ... that was ↵Charles Kerr2012-03-091-8/+0
| | | | preventing the prelight state from ever showing up there.
* removed deprecations from gtk3 and fixed sizing issues with idemessagedialog ↵Ken VanDine2011-12-141-0/+14
| | | | (LP: #888392)
* one more fix for armel FTBFSKen VanDine2011-10-061-1/+1
|
* Fixed FTBFS on armel (LP: #866039)Ken VanDine2011-10-051-1/+1
|
* Only use the offscreen proxy stuff in GTK3Robert Carr2011-09-131-3/+61
|
* Use gtk_render_backgroundRobert Carr2011-09-061-1/+0
|
* Implement an IdoOffscreenProxy object to work around GtkRange/Scale needing ↵Robert Carr2011-09-021-12/+20
| | | | grabs, change IdoScaleMenuItem to make use of this. Fixes lp: #804009
* use const not G_CONST_RETURNMichael Terry2011-06-201-2/+2
|
* drop deprecated use of event_windowMichael Terry2011-06-011-5/+0
|
* adjustments aren't widgetsMichael Terry2011-06-011-2/+2
|
* fix various unused-variable warnings; not directly related to gtk3 work, but ↵Michael Terry2011-06-011-7/+5
| | | | helps focus on actual problems
* allow building either gtk2 or gtk3 versions; some deprecation cleanupsMichael Terry2011-06-011-4/+3
|
* porting to gtk3, WIPKen VanDine2011-05-271-3/+3
|
* Listen to GtkMenuItem's 'toggle-size-allocate' signal to get the toggle size ↵Cody Russell2010-10-071-1/+16
| | | | instead of using the GSEAL'd GtkMenuItem::toggle_size value.
* Fix for armel build. Patch by David Sugar.Cody Russell2010-08-031-1/+1
|
* blehCody Russell2010-07-291-2/+2
|
* Different range size styles.Cody Russell2010-07-151-57/+93
|
* Add IdoRange, and modify IdoScaleMenuItem to use it.Cody Russell2010-07-131-23/+280
|
* Fake out the grab stuff by setting GTK_HAS_GRAB on the scale widget before ↵Cody Russell2010-05-101-0/+4
| | | | forwarding the event.
* Try to remove offscreen fuCody Russell2010-05-101-130/+36
|
* reverse-scroll-events property only affects GDK_SCROLL_UP and GDK_SCROLL_DOWNCody Russell2010-04-141-2/+14
|
* Don't capture up/down keys. Compile fixes for latest gtk+.Cody Russell2010-03-151-3/+3
|
* Fix for grab/release signals. If you grab the slider and then release it ↵Cody Russell2010-03-091-4/+58
| | | | while the mouse is outside the menu, it was not emitting the released signal.
* Add grab/release signalsCody Russell2010-03-051-0/+32
|
* Make 'ido-offscreen-scale' the name of the GtkOffscreenWindow, not the GtkScale.0.1.3Cody Russell2010-03-041-1/+1
|
* Name the offscreen scale 'ido-offscreen-scale'Cody Russell2010-03-041-0/+1
|
* Support reversing scroll eventsCody Russell2010-02-131-2/+25
|