aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/genericmenuitem.c
Commit message (Collapse)AuthorAgeFilesLines
* fix grammar: use of its and it'sCharles Kerr2012-10-071-1/+1
|
* Use g_markup_escape_text instead of manually trying to fix the textAlbert Astals2012-06-041-28/+3
|
* Replace & with & since we are using set_markup in the labelAlbert Astals2012-06-041-2/+27
|
* merge lp:~ted/dbusmenu/double-underscore to make ↵Charles Kerr2012-04-231-1/+1
|\ | | | | | | libdbusmenu-gtk/genericmenuitem.c's sanitize_label() function static.
| * Static is probably better to ensure we don't get out of the binaryTed Gould2012-04-231-1/+1
| |
| * Make sanitize_label static for sure and inline if availableTed Gould2012-04-121-1/+1
| |
* | Move setting the accell widget out of the if statementTed Gould2012-04-161-2/+1
|/
* No reason to bother with that in the global namespaceTed Gould2012-04-111-2/+2
|
* Provide a function to sanitize the label and use that as Pango isn't doing ↵Ted Gould2012-04-111-1/+28
| | | | it for us now
* Handle mnemonic stuff on updates as wellTed Gould2012-04-091-1/+7
|
* Check the string for mnemonic support when setting the valueTed Gould2012-04-091-3/+32
|
* Fixing for GTK2Ted Gould2012-03-011-0/+9
|
* Set the role of the menu item based on how it's being displayedTed Gould2012-03-011-0/+11
|
* Setting the default role to be a menu itemTed Gould2012-03-011-0/+4
|
* Do not leak the label textAlberto Mardegan2012-02-221-1/+3
| | | | | Also, fix the indentation from the previous commit.
* Do not read the label text from the label widgetAlberto Mardegan2012-02-221-18/+10
| | | | | | | | | The label text stored in the widget might have been modified with markup. Instead of reading it back from the widget, return the text as set by the client, unmodified. Alter the test-gtk-submenu so that the correct behaviour is checked for.
* Fix build with gtk3 by ifdeffing the GtkBox/HBox construction in ↵Mikkel Kamstrup Erlandsen2012-01-161-0/+10
| | | | genericmenuitem.c
* when resetting an image widget and it's the only child of the menuitem, make ↵Michael Terry2011-10-051-0/+1
| | | | sure we don't try to use free'd memory
* Changing from using hspace to using toggle-spaceTed Gould2011-08-241-8/+8
|
* Making the capturing of colors from the theme GTK3 specific (it is) so that ↵Ted Gould2011-08-241-2/+5
| | | | GTK2 can build
* Fixing the color namesTed Gould2011-08-231-3/+3
|
* Fixing the comparision so that we don't block updatesTed Gould2011-08-221-5/+6
|
* Create a local string with a color if the disposition is non-normalTed Gould2011-08-221-2/+51
|
* Implement the setter and getter for dispositionTed Gould2011-08-221-0/+38
|
* Add in a disposition and set it at initTed Gould2011-08-221-0/+2
|
* Ensuring we don't have an GenericMenuItem in the docsTed Gould2011-02-211-1/+1
|
* Fix GI annotations for DbusmenuGtkMartin Pitt2011-02-161-26/+26
|
* Fixing check menu items (and radio)Ted Gould2010-12-091-14/+10
|\
| * Switching away from using set_activate as that doesn't actually set the ↵Ted Gould2010-12-091-14/+10
| | | | | | | | value, it just signals, but we're sucking up that signal already so we need to manually create it if we need it, which is the only way to set the active property. Goofy.
* | Removing a GValue to use the direct functionsTed Gould2010-12-021-9/+2
| |
* | Merging in trunk changes for dual build and GTK3 fixesTed Gould2010-12-011-12/+28
|\|
| * Merging in configurable GTK build optionTed Gould2010-11-111-12/+28
| |\
| | * instead of always building gtk2 and gtk3, add a --with-gtk= flag to ↵Michael Terry2010-10-061-12/+28
| | | | | | | | | | | | configure to specify which to build with
* | | Switching everything to start using variants... even ahead of GLibTed Gould2010-11-171-0/+2
|/ /
* | Setting the accel widget for the accel label.Ted Gould2010-06-151-0/+1
| |
* | Block the case where the label is being init'd to NULLTed Gould2010-06-141-0/+2
| |
* | Switching to an accel labelTed Gould2010-06-141-1/+1
|/
* Check if we're setting the same image and return so we don't destroy it.Cody Russell2010-01-121-0/+3
|
* A little function to grab the horizontal padding and stuff it into the box.Ted Gould2010-01-111-4/+15
|
* Handling the case of getting an image with the purpose of clearing the ↵Ted Gould2009-12-171-5/+9
| | | | label. Also showing the image.
* Fleshing out the image functions for our generic item.Ted Gould2009-12-171-3/+67
|
* Trying to reduce the complexity of adding a label. Now we can detect the ↵Ted Gould2009-12-171-23/+68
| | | | various cases and make sense of them. Which is kinda nice. More confident in this code.
* License headers. I hate these.Ted Gould2009-12-171-0/+28
|
* Adding in an activate function so that we don't toggle our value on click. ↵Ted Gould2009-12-161-14/+29
| | | | We're letting the application handle that. But, in turn, it turns out that is the only way to set the active property. So without an activate function, we can't set it. So, we're taking a lot more responsibility for setting it properly when we want to.
* Set alignment on the labels.Ted Gould2009-12-161-0/+2
|
* Yeah, gotta show those labels.Ted Gould2009-12-161-0/+2
|
* Woot, a set label function.Ted Gould2009-12-161-0/+40
|
* CommentsTed Gould2009-12-161-0/+16
|
* Stubs for setting and getting the image and label.Ted Gould2009-12-161-0/+39
|
* Setting the properties based on the enum value changes.Ted Gould2009-12-161-0/+24
|