aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* ido_user_menu_item_new_from_model: fix docstringLars Uebernickel2013-05-311-2/+4
|
* Move crate_user_menu_item into idousermenuitem.cLars Uebernickel2013-05-273-98/+102
| | | | | | We expect to have quite a few custom widgets. Having them all in idomenuitemfactory.c would clutter that file up too much.
* IdoActionHelper: document signals and propertiesLars Uebernickel2013-05-271-0/+39
|
* GtkMenuItemFactory -> UbuntuMenuItemFactoryLars Uebernickel2013-05-241-8/+9
|
* Create IdoUserMenuItems for indicator.user-menu-itemLars Uebernickel2013-05-231-1/+105
| | | | | | Only used by the indicator-session/ng branch right now. Doesn't create guest menu items yet.
* Merge IdoUserMenuItem branchLars Uebernickel2013-05-223-1/+426
|\ | | | | | | | | | | This branch contains IdoUserMenuItem, a menu item that is used by indicator-session to display an individual user in the user switcher.
| * rename idousermenuitem's "icon" property as "icon-filename" for a little ↵Charles Kerr2013-03-272-18/+20
| | | | | | | | more clarity.
| * in ido_user_menu_item_primitive_draw_cb_gtk_3(), remove deprecated use of ↵Charles Kerr2013-03-261-5/+10
| | | | | | | | gtk_widget_get_style(), gtk_widget_get_state()
| * add properties to IdoUserMenuItem and remove its dependencies on ↵Charles Kerr2013-03-262-122/+194
| | | | | | | | DbusmenuMenuitem
| * rename user-widget.[ch] to idousermenuitem.[ch]. Not building yet, next step ↵Charles Kerr2013-03-264-78/+77
| | | | | | | | is to decouple from dbusmenu.
| * add user-widget.[ch] from indicator-session's trunkCharles Kerr2013-03-262-0/+347
| |
* | Add IdoActionHelperLars Uebernickel2013-05-223-2/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This class contains some functionality that all menu items that are bound to an action need. It listens for action additions and removals, changes in enabled state, and state changes. It is _not_ intended to be used by specific menu items, but rather as the glue in IdoMenuItemFactory, to bind a widget to an action. An alternative way to reach the same goal is to have an IdoMenuItem base class which contains the common functionality. This would have required touching all existing menu items (slider, user menu item, media player items) and would have added more complexity to them. It is similar in spirit to GtkActionHelper (a private class in gtk), but very different in API and implementation.
* | Add IdoMenuItemFactoryLars Uebernickel2013-05-224-2/+102
|/ | | | | | | | | | | | It's implementing the GtkMenuItemFactory extension point (only available in Ubuntu's version of gtk+). It doesn't create any menu items yet. The extension point must be registered before calling gtk_menu_new_from_model() with a menu model that references any of the custom menu items ido will provide. Registering means the type must exist in the type system. This patch adds an ido_init() which does that. Consumers of libido are required to call this function from now on.
* Guard against CID:12651, division by zero of FPS value due to its use for ↵Mathieu Trudel-Lapierre2013-02-061-2/+2
| | | | timing timeline updates.
* Shut up coverity about CID:12650.Mathieu Trudel-Lapierre2013-02-061-1/+2
|
* Add introspection and Vala support to IDORobert Ancell2012-12-149-40/+337
|
* the calendar widget shouldn't eat the ESC key.Charles Kerr2012-09-191-1/+2
|
* Merge lp:~larsu/ido/remove-slider-hack-953757Lars Uebernickel2012-08-272-20/+2
|\ | | | | | | | | Removes slider hacks.
| * ido-range: chain up constructed() to base classLars Uebernickel2012-03-161-0/+2
| |
| * Remove slider mouse button hackLars Uebernickel2012-03-161-20/+0
| | | | | | | | | | This should be a global setting for all sliders and fixed in gtk.
* | remove the gtk2 conditional compiles for IdoMessageDialogCharles Kerr2012-08-221-8/+0
| |
* | remove the gtk2 conditional compiles for IdoCalendarMenuItemCharles Kerr2012-08-221-28/+0
| |
* | remove the gtk2 conditional compiles for IdoEntryMenuItemCharles Kerr2012-08-221-24/+0
| |
* | sync with lp:idoCharles Kerr2012-08-223-1/+181
|\ \
| * \ merge lp:~ken-vandine/ido/link-libm to AC_CHECK_LIBM to get -lm now that gtk ↵Charles Kerr2012-08-211-1/+1
| |\ \ | | | | | | | | | | | | doesn't include that in it's .pc file
| | * | Use AC_CHECK_LIBM to get -lm now that gtk doesn't include that in it's .pc fileKen VanDine2012-07-241-1/+1
| | | |
| * | | revert the event delegation for now, it's not necessary for FFCharles Kerr2012-08-211-51/+0
| | | |
| * | | when the mouse is over the GtkSwitch widget, the menuitem should delegate ↵Charles Kerr2012-08-211-0/+51
| | | | | | | | | | | | | | | | the mouse down and motion events to it.
| * | | use gtk_menu_shell_deactivate() rather than gtk_menu_popdown(); the latter ↵Charles Kerr2012-08-211-1/+1
| | | | | | | | | | | | | | | | handles the issue of the menu title being painted as if the menu were still open
| * | | ...and if we're not clearing that in dispose(), then we don't need dispose() ↵Charles Kerr2012-08-211-10/+0
| | | | | | | | | | | | | | | | anymore
| * | | don't keep the GBinding pointer around, it'll be destroyed automatically ↵Charles Kerr2012-08-211-6/+3
| | | | | | | | | | | | | | | | when the menuitem's destroyed
| * | | comment tweaksCharles Kerr2012-08-212-4/+8
| | | |
| * | | add IdoSwitchMenuItemCharles Kerr2012-08-213-0/+189
| |/ /
* | | require gtk3Charles Kerr2012-05-076-71/+0
| | |
* | | remove unused function ido_range_grab_notify()Charles Kerr2012-05-071-23/+0
|/ /
* | Putting in the BEGIN_DECLS for the C++ folksTed Gould2012-04-251-0/+2
| |
* | merge lp:~allanlesage/ido/TDD to add targets to autotools build for ↵Charles Kerr2012-04-121-2/+9
|\ \ | |/ |/| | | code-coverage reporting. For more information, see this blog post: http://qualityhour.wordpress.com/2012/01/29/test-coverage-tutorial-for-cc-autotools-projects/ .
| * Added gcov coverage tooling.Allan LeSage2012-03-271-2/+9
| |
* | 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-102-31/+93
| |
* | tweak: fix some indentation damage in the header fileCharles Kerr2012-03-091-2/+2
| |
* | remove idooffscreenproxyCharles Kerr2012-03-093-592/+0
| |
* | 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.
* add style class "menubar" to the offscreen proxy, this fixes the white ↵Ken VanDine2012-02-081-4/+3
| | | | background drawn in the sound menu with the current gtk3/light-themes (LP: #925700)
* Patch from ~covox (LP: #867649)Ken VanDine2012-01-121-0/+4
| | | | | | | | | In method ido_offscreen_proxy_realize(), a call is made to gdk_screen_get_rgba_visual() to get a GdkVisual handle, which is then passed as part of a GdkWindowAttr structure to gdk_window_new(). What's not taken into account is that gdk_screen_get_rgba_visual() will return NULL if RGBA isn't supported by the destination window manager (e.g. if someone turned the Composite extension off). In this case, as the field is always marked as valid for use (GDK_WA_VISUAL), gdk_window_new will fall over. Attached is a patch to fall back on gdk_screen_get_system_visual() if RGBA isn't available. With this, unity-panel-service no longer crashes after interacting with the Sound indicator if the Composite extension is switched off.
* removed deprecations from gtk3 and fixed sizing issues with idemessagedialog ↵Ken VanDine2011-12-145-0/+45
| | | | (LP: #888392)
* one more fix for armel FTBFSKen VanDine2011-10-061-1/+1
|