aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
Commit message (Collapse)AuthorAgeFilesLines
* whoops! remove a stray g_message() that got committedCharles Kerr2012-11-261-1/+0
|
* confirm that icon_name is non-NULL before passing it to ↵Charles Kerr2012-11-261-1/+2
| | | | gtk_icon_theme_has_icon()
* Only prefer name over pixmap if the theme has the icon for the nameAlbert Astals Cid (aacid)2012-10-241-1/+5
|\
| * Only prefer name over pixmap if the theme has the icon for the nameAlbert Astals2012-10-181-1/+5
| |
* | comment copyeditingCharles Kerr2012-10-245-7/+7
|\ \ | |/ |/|
| * fix grammar: use of its and it'sCharles Kerr2012-10-075-7/+7
| |
* | spacingAlbert Astals2012-10-161-5/+5
| |
* | Call gtk_menu_set_active with the position of the activated menu itemAlbert Astals2012-10-161-0/+8
|/ | | | | Fixes interaction with GtkRecentChooserMenu (bug 752674)
* parser.c: make sure to disconnect from gtksettings::gtk-menu-imagesLars Uebernickel2012-09-241-6/+16
|
* revert r417 so that we don't change the vapi name at the last minute for ↵Charles Kerr2012-09-201-4/+4
| | | | 12.10 (LP: #978687)
* pay attention to GtkSettings's gtk-menu-images value as it changes on the ↵Michael Terry2012-09-101-0/+63
| | | | client end
* Making the headers match independent of build directoryTed Gould2012-06-071-1/+1
|\
| * don't include build-time filenames in comments of the enum header filesunknown2012-05-241-1/+1
| | | | | | | | | | | | | | | | | | If we do, the header files may be different on each build. This is especially harmful when building multiple times for multiple architectures and expecting the files to be identical. See: http://bugs.debian.org/674200
* | 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
|/
* Evan Nemerson's patch to make the Vala bindings use pkg-config names, rather ↵Charles Kerr2012-04-261-4/+4
|\ | | | | | | than GIR names, so that valac can automatically pick up the relevant libraries and flags.
| * apply Evan Nemerson's patch to make the Vala binidngs use pkg-config names, ↵Charles Kerr2012-04-111-4/+4
| | | | | | | | not GIR names, so that valac can automatically pick up the relevant libraries and flags.
* | 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
* merge lp:~ted/dbusmenu/lp903200 to be more explicit about what is and isn't ↵Charles Kerr2012-04-111-4/+39
|\ | | | | | | a mnemonic.
| * 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
| |
* | switch the smoke test to a g_debug statementCharles Kerr2012-04-101-6/+7
| |
* | make the signal disconnect warnings in dbusmenu-gtk more fine-grained.Charles Kerr2012-04-101-93/+113
| |
* | warn if we're not able to disconnect from the signals that we're monitoringCharles Kerr2012-04-091-29/+42
| |
* | don't use g_intern_static_string() as a drop-in replacement for strcmp()Charles Kerr2012-04-061-51/+107
| |
* | fix prop_value leak in widget_notify_cb() when a widget's label changesCharles Kerr2012-04-061-5/+4
| |
* | remove convoluted & unnecessary branch in update_icon()Charles Kerr2012-04-061-12/+7
| |
* | fix dbusmenu_item_freed(), it called g_object_get_data() on a finalized GObjectCharles Kerr2012-04-061-23/+11
|/
* Merge lp:~allanlesage/dbusmenu/TDD to add gcov targets to autotools build ↵Charles Kerr2012-04-031-1/+9
|\ | | | | | | | | | | | | for code-coverage reporting. For more information, see this blog post: http://qualityhour.wordpress.com/2012/01/29/test-coverage-tutorial-for-cc-autotools-projects/ . To compile with coverage tooling, ./autogen.sh --enable-gcov, then make coverage-html . Note that you'll need lcov to autoconf. Also note that you'll get an error on make if you have no tests, as there are no coverage artifacts to generate the html report. For review, please pay special attention to flags added in the project's makefiles.
| * Added gcov coverage tooling.Allan LeSage2012-03-271-1/+9
| |
* | fold client's two DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED signal handlers ↵Charles Kerr2012-03-271-12/+2
| | | | | | | | together for clarity
* | Don't listen for "changed" events from the screen's default GtkIconTheme. ↵Charles Kerr2012-03-211-51/+0
| | | | | | | | | | | | | | | | | | Fixes lp bug #953509 The crash in #953509 was being caused by the last two lines of theme_changed_cb() (a) leaving a dangling handler id in priv.theme_changed_sig, and (b) not remembering the handler id of its own signal connection. However after testing I don't see any reason to keep any of the theme handling code at all. "But wait," you say. "How will our menu icons follow the theme changes?" It works in practice anyway because we always listen for property changes to our reference GtkImage, **and** we listen for property changes to its GtkImageMenuItem parent so that if the GtkImageMenuItem changes GtkImages we can stop listening to the old one and start listening to the new one.
* | Fix string leakTed Gould2012-03-201-1/+1
| |
* | Handle the case of the label being NULL which can happen on custom itemsTed Gould2012-03-201-7/+10
| |
* | Removing underscores in the ATK nameTed Gould2012-03-091-7/+15
|\ \
| * | Restructuring slightly to have two cases, allocating memory and not allocatingTed Gould2012-03-091-7/+9
| | |
| * | Remove the underscores used for mnewmonics, as orca speaks them, which is notLuke Yelavich2012-03-091-1/+7
| | | | | | | | | | | | | | | what we want.
* | | Missing a couple of cases of removing the signal handler and clearing the ↵Ted Gould2012-03-091-4/+12
|/ / | | | | | | stored value
* | Making sure the ATK object name always gets set to the label if nothing elseTed Gould2012-03-081-1/+5
|\ \
| * | Set the accessible name from the dbusmenu item label. THis is a work-around ↵Luke Yelavich2012-03-081-0/+8
| | | | | | | | | | | | until GTK follows atk docs.
| * | Merge from trunk.Luke Yelavich2012-03-081-18/+36
| |\ \
| * | | Do not set the accessible name to an empty string if the accessible_descLuke Yelavich2012-02-171-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | property = NULL. Yes this was recently changed so that dbusmenu conformed to Atk documentation, but the GTK menu item accessibility code does not yet conform to sed documentation. As a result, all dbusmenu menu items that do not have the accessible_desc property set end up getting an empty string for their accessible name. In the long term, GTK accessibility needs to be fixed.
* | | | Fixing resetting an icon numerous timesTed Gould2012-03-081-18/+48
|\ \ \ \ | |_|/ / |/| | |
| * | | Don't need to setup this signal twiceTed Gould2012-03-021-3/+0
| | | |
| * | | Moving the adding of signals to the update_icon function so that everyone ↵Ted Gould2012-03-021-12/+32
| | | | | | | | | | | | | | | | gets them