summaryrefslogtreecommitdiff
path: root/tests/teststatusicon.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor cleanupMatthias Clasen2016-03-051-1/+3
| | | | The GtkStatusIcon::size-changed signal expects a boolean return.
* Deprecate GtkStatusIconMatthias Clasen2014-08-151-0/+1
| | | | | | | | GtkStatusIcon is using a problematic, XEmbed-based protocol under X, and we want to get rid of it eventually. Document our intentions by marking GtkStatusIcon as deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=734826
* tests: Drop manual property editorMatthias Clasen2014-05-221-23/+0
| | | | No need for this anymore, now that we have the inspector everywhere.
* Remove most of the stock API usage from the testsWilliam Jon McCann2013-06-241-1/+1
| | | | With the exception of GtkActions and the tests for stock items.
* tests: Remove multiscreen code from teststusiconBenjamin Otte2013-04-061-28/+16
|
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Use standard icon namesMatthias Clasen2011-02-111-2/+2
|
* tests: Remove all code relating to the blink menu itemBenjamin Otte2010-09-031-4/+0
|
* Remove blinking from status iconsMatthias Clasen2010-09-021-54/+0
| | | | This feature was just a bad idea.
* Use accessor functions to access GtkDialogJavier Jardón2010-07-131-3/+6
|
* Remove a deprecated call to gtk_status_icon_set_tooltipTobias Mueller2009-05-031-1/+1
| | | | This fixes bug 574386.
* Add the possibility to test what happens if the process just calls exit()Tor Lillqvist2008-03-101-0/+15
| | | | | | | | | | | 2008-03-10 Tor Lillqvist <tml@novell.com> * tests/teststatusicon.c (do_exit, popup_menu): Add the possibility to test what happens if the process just calls exit() without any orderly cleanup of GTK+. svn path=/trunk/; revision=19745
* Fix GtkStatusIcon to not take up space on the panel if it is invisible.Matthias Clasen2007-01-271-1/+34
| | | | | | | | | | | | | | | | 2007-01-27 Matthias Clasen <mclasen@redhat.com> * gtk/gtkstatusicon.c: * gtk/gtktrayicon-x11.c: Fix GtkStatusIcon to not take up space on the panel if it is invisible. (340110, Christian Persch) * tests/teststatusicon.c: * tests/Makefile.am: Updates svn path=/trunk/; revision=17224
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-221-2/+2
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* typo fixMatthias Clasen2006-12-221-1/+1
|
* Make it possible to track the embeddedness of statusicon (#387215, MartynMatthias Clasen2006-12-221-1/+28
| | | | | | | | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> Make it possible to track the embeddedness of statusicon (#387215, Martyn Russell, patch by Christian Persch) * gtk/gtkstatusicon.c: Add orientation and embedded properties. * gtk/gtkplug.c: * gtk/gtkplug-x11.c: Add an embedded property. * tests/teststatusicon.c: Test the new properties.
* Fixes bug #376502 - multi-screen support for GtkStatusIconMark McLoughlin2006-11-191-40/+96
| | | | | | | | | | | | | | | | 2006-11-19 Mark McLoughlin <mark@skynet.ie> Fixes bug #376502 - multi-screen support for GtkStatusIcon * gtk/gtkstatusicon.[ch]: (gtk_status_icon_set_screen), (gtk_status_icon_get_screen): add multi-screen API. Allows an app to display an icon on a non-default screen (gtk_status_icon_class_init), (gtk_status_icon_set_property), (gtk_status_icon_get_property): add a "screen" property * tests/teststatusicon.c: update to test on multiple screens
* Position the dialog with GTK_WIN_POS_CENTER. (do_quit): New function, hideTor Lillqvist2005-11-031-0/+18
| | | | | | | | | | 2005-11-03 Tor Lillqvist <tml@novell.com> * tests/teststatusicon.c (icon_activated): Position the dialog with GTK_WIN_POS_CENTER. (do_quit): New function, hide and unref the GtkStatusIcon, and call gtk_main_quit(). (popup_menu): Add a Quit menu item that calls do_quit().
* fix typo for GTK_VER; define HAVE_CONFIG_H cause gtkprogressbar.c hasHans Breuer2005-09-181-11/+11
| | | | | | | | | | | | | | | | | | | | | | 2005-09-18 Hans Breuer <hans@breuer.org> * gtk/makefile.msc.in : fix typo for GTK_VER; define HAVE_CONFIG_H cause gtkprogressbar.c has #include <config.h> conditionally; less noise from generated gtk.def * gtk/stock-icons/makefile.msc gdk/makefile.msc tests/makefile.msc : updated * gtk/gtktrayicon-win32.c : dummy implmentation to make gtk compile. For me it works as well as the *NIX implemenation, that is not at all. * gdk/win32/gdkproperty-win32.c : implement gdk_atom_intern_static_string() * gdk/win32/gdkwindow-win32.c(gdk_window_set_urgency_hint) : only use only use (WINVER >= 0x0500) when available from the SDK. Otherwise fall back to true dynamic linking of FlashWindowEx. Makes gtk+ work on NT4.0 again - if compiled properly. * tests/teststatusicon.c : don't use GNOME icons for testing, but icons already coming with Gtk+. Makes it compile on win32.
* Add a cross-platform "tray icon" API, by porting EggStatusIcon/EggTrayIconMatthias Clasen2005-08-291-0/+209
2005-08-29 Matthias Clasen <mclasen@redhat.com> Add a cross-platform "tray icon" API, by porting EggStatusIcon/EggTrayIcon (#105101) * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which displays an icon in a notification area. * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for X11, using GtkTrayIcon. * gtk/gtktrayicon.h: * gtk/gtktrayicon.c: An implementation of the freedesktop.org system tray specification, not public API. * gtk/gtk.symbols: Add new exported functions. * gtk/gtk.h: Include gtkstatusicon.h. * gtk/Makefile.am: Add new files. * tests/Makefile.am: * tests/teststatusicon.c: Test for GtkStatusIcon.