Commit Graph

10 Commits

Author SHA1 Message Date
Owen W. Taylor
a90c81b2c7 Add missing gtk_widget_get_allocation()
In the change from widget->allocation to gtk_widget_get_allocation(),
one addition of gtk_widget_get_allocation() was missed. Add it.
2010-05-10 14:29:44 -04:00
Florian Müllner
6318c8e95b Add compatibility with GTK+ 2.18
To replace all calls to deprecated code, GTK+ 2.20 is required - add
some basic compatibility code, so that is still possible to build the
shell with GTK+ 2.18 when not using -DGSEAL_ENABLE.

https://bugzilla.gnome.org/show_bug.cgi?id=618258
2010-05-10 18:31:51 +02:00
Florian Müllner
8c5bb8655d Use accessor functions instead of direct access
With the transition to GTK+ 3.0, direct access to struct members
will no longer be possible.
This bumps the required minimum version of GTK+ to 2.20.

https://bugzilla.gnome.org/show_bug.cgi?id=618258
2010-05-10 18:31:51 +02:00
Florian Müllner
6b816fa7dc Replace includes of glib/gi18n.h with glib/gi18n-lib.h
https://bugzilla.gnome.org/show_bug.cgi?id=602802
2009-11-24 15:26:09 -05:00
Owen W. Taylor
58e718ac0c Allow more flexibility for NaTrayChild compositing
na-tray-child.[ch]: Add na_tray_child_set_composited() to allow the
 application to modify the behavior where gdk_window_set_composited(TRUE)
 is called for icons with alpha. Rename na_tray_child_is_composited() to
 na_tray_child_has_alpha() to better reflect the meaning and fix things
 so that it can be called at any time and not only after the icon is
 realized.
na-tray.c: Adapt to na_tray_child_is_composited() rename.

http://bugzilla.gnome.org/show_bug.cgi?id=579454
2009-04-18 17:05:14 -04:00
Owen W. Taylor
bb92791bd3 Sync whitespace with gnome-panel version of NaTray*
Propagate line-wrapping and other white-space changes from gnome-panel
to our copy of NaTrayChild and NaTrayManager.
2009-04-18 16:49:07 -04:00
Owen W. Taylor
c8fd1f99d5 Use single include for gtk+
Merge from gnome-panel

2008-12-09  Vincent Untz  <vuntz@gnome.org>

        * na-tray-manager.[ch]: use single include for gtk+
2009-04-18 16:49:07 -04:00
Owen W. Taylor
5963a00fc5 fix compilation warnings
Merge from gnome-panel

2008-12-09  Vincent Untz  <vuntz@gnome.org>

        * na-tray-child.c: (na_tray_child_realize): fix compilation warnings
2009-04-18 16:49:07 -04:00
Owen W. Taylor
5efb616acc Remove translatable string in a warning
Merge from gnome-panel

2008-12-09  Vincent Untz  <vuntz@gnome.org>

        * na-tray-child.c: (na_tray_child_size_request): remove translatable
        string in a warning
2009-04-18 16:49:07 -04:00
Dan Winship
8c61d46586 Import part of the notification area applet, and use it to add a
notification are to the panel. A bit warty, but we don't know how we want
the final UI to look anyway. (The fact that transparency doesn't work is
a known bug.)

svn path=/trunk/; revision=44
2008-11-14 17:21:56 +00:00