summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
2015-07-14na: Add icon-padding style property to NaTrayApplet to set paddingVincent Untz1-0/+13
It can be used this way: NaTrayApplet { -NaTrayApplet-icon-padding: 6; } https://bugzilla.gnome.org/show_bug.cgi?id=583273
2015-07-14na: Rewrite main.c to subclass PanelApplet as NaTrayAppletVincent Untz3-189/+230
This is cleaner, and we'll be able to add style properties to this widget. Conflicts: applets/notification_area/main.c Conflicts: applets/notification_area/main.c
2015-07-14na: Move creating of GtkBox for NaTrayVincent Untz1-22/+1
Do it in init() instead of constructor(), for consistency. It shouldn't matter much, really. Conflicts: applets/notification_area/na-tray.c
2015-07-14Replace GtkObject with GObject also for Gtk+ 2infirit2-31/+0
2015-07-14Drop gdkkeysyms-compat usage in Gtk+3infirit1-9/+6
The new GDK_KEY_ keys are also in Gtk+2.
2015-04-09Use g_path_is_absolute().Patrick Monnerat1-1/+1
2015-04-09Resolve relative symlink of /etc/localtime This fixes wrong detection of ↵Patrick Monnerat1-0/+16
system timezone under certain circumstances. Example: in Fedora 20, the environment is a follows: a) /etc/localtime symlinks --> ../usr/share/zoneinfo/Europe/Zurich b) /usr/share/zoneinfo contains files with more than 1 hardlink. In example, Europe/Zurich and Europe/Vaduz share the same i-node. - system_timezone_read_etc_localtime_softlink() because the link is relative. - The next algorithms fail because the targeted files do not exist. - system_timezone_read_etc_localtime_hardlink() succeeds, but finds Europe/Vaduz before Europe/Zurich. Thus the detected system timezone is wrong. By resolving a relative /etc/localtime symlink, this patch leads algorithm system_timezone_read_etc_localtime_softlink() to success and therefore proper detection of system timezone. Closes https://patch-diff.githubusercontent.com/raw/mate-desktop/mate-panel/pull/261.patch
2015-03-19notification area: prevent crashmonsta1-1/+1
from upstream commit: https://git.gnome.org/browse/gnome-panel/commit/applets/notification_area/na-tray-manager.c?id=2adbcc5308577d864b09062a3343b9f8dbcdcd7f Closes https://github.com/mate-desktop/mate-panel/pull/291
2015-03-19gtk3: correct css theme selector widget nameDenis Gorodnichev1-1/+1
Window Selector widget name is "PanelApplet-window-menu-applet-button". This fix 1px focus width Closes https://github.com/mate-desktop/mate-panel/pull/275
2014-12-16Revert "Add back Glib 2.32 support"infirit1-4/+0
This reverts commit 7389d3e9dd5390b3d4e1dabbe6dd763a8dc1a0d7.
2014-12-16Add back Glib 2.32 supportinfirit1-0/+4
2014-12-12clock: use GNetworkMonitorinfirit1-141/+25
Taken from gnome-panel commit: 04e6ef4dbc6a1fdc720b750fdf87a7f43a8a2df6 From: Alberts Muktupāvels <[email protected]>
2014-11-24zero-initialize all signals arraysMonsta4-6/+6
2014-11-23don't leak memoryMonsta2-1/+2
2014-11-23Gtk3: panel, clock: Synchronize calculate_minimum_height() codeinfirit1-2/+2
Also change the panel version to use the padding instead of the border. We're interested in the padding here. I believe. Taken from gnome-panel commit: 0b5d9e57451dff3a25b3fbcc8dec671cac469cb From: Vincent Untz <[email protected]>
2014-11-23Gtk3: clock: Port to GtkStyleContextinfirit1-8/+59
Based on gnome-panel commit: c28ed51852a629884ce9ad8acc7924680c35854c From: Germán Póo-Caamaño <[email protected]>
2014-11-23GDK_KEY_* is also in Gtk+2.24infirit1-9/+6
2014-11-23Gtk3: window-menu: Don't change selector style since it's already changed by ↵infirit1-25/+0
libwnck Based on gnome-panel commit: 60cb9c798ed25868c1c07b73fa08aabbb5892d2c From: Carlos Garcia Campos <[email protected]>
2014-11-23showdesktop: Fix the size of the iconinfirit1-2/+2
Based on gnome-panel commit: 6dae521ff187dcb2da1969ad017cf5b9e1bcb8f2 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: clock-map: Port to GtkStyleContextinfirit1-3/+9
Based on gnome-panel commit: 40391453286cce55039932d6dc3f741bb74e385f From: Germán Póo-Caamaño <[email protected]>
2014-11-23clock: Check allocated size before creating the shadow pixbufinfirit1-1/+2
Based on gnome-panel commit: d98b58770dec2f1434cb0acce487e85514ca9bb0 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: showdesktop: Port gtk_widget_get_style to GtkStyleContextinfirit1-0/+27
Based on gnome-panel commit: d27ef4de9ba872e5afc5e60430c7a16549158f61 From: Germán Póo-Caamaño <[email protected]>
2014-11-23Gtk3: Silence GtkBox deprecation warningsinfirit4-0/+21
2014-11-23Gtk3: clock: Port gtk_rc_parse_string to GtkCssProviderinfirit1-0/+15
Based on gnome-panel commit: 71c3290e3895b71be6bce0e909c4b414bd190b5e From: Germán Póo-Caamaño <[email protected]>
2014-11-23Gtk3: showdesktop: Port to GtkStyleContextinfirit1-0/+17
Based on gnome-panel commit: fb1fa7ef2087b68fc7e7a01050e4c6747e8771e8 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: window-menu: Use gtk_render_focus() instead of gtk_paint_focus()infirit1-14/+31
Based on gnome-panel commit: eab5174e71e705331c53482b7eecb56c1dc3ef6c From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: notification_area: Port to GtkStyleContextinfirit1-0/+17
Based on gnome-panel commit: 6d390be628ce8fccbfee5c5cca4e240fa391cdda From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: GtkBox is not abstract anymore.infirit1-2/+5
Based on gnome-panel commits, na-tray: Remove unneeded type NaBox: 9313543ecf3f8de10cb14977cd2eccd17e654968 From: Carlos Garcia Campos <[email protected]> na: Move creating of GtkBox for NaTray: 777b913142e61378e60c217c7c609e181202704c From: Vincent Untz <[email protected]>
2014-11-22Gtk3: Sync get_preferred_width/height() usage with gnome-panelinfirit2-40/+87
Even tough it works it makes taking code (eg StyleContext) from gnome-panel much easier. Also fixes a bug where applets are not drawn when moved/added.
2014-11-22Gtk3: Remove frame of window-menu appletinfirit1-0/+41
Based on gnome-panel commit: 1f086d72760569bc466de082e99a55a82ac06014 From: Carlos Garcia Campos <[email protected]>
2014-11-22Gtk3: window-list Don't use deprecated size-allocate signalinfirit1-4/+4
Take an additional change from gnome-panel that was not in MATE commit: 77a45f0abf8d0db41bb4b99e08dfbdd968cb6be8 From: Carlos Garcia Campos <[email protected]>
2014-11-22na: Fix handling of SYSTEM_TRAY_CANCEL_MESSAGEinfirit1-5/+10
We were not looking at the right field for the message ID: the ID is in the 4th field for BEGIN_MESSAGE, but 2nd field for CANCEL_MESSAGE. Taken from gnome-panel commit: 8ff843458425d525b10fc5d9b7bb357248c637c8 From: Vincent Untz <[email protected]>
2014-11-22clock: Use lists instead of arraysMonsta1-19/+7
Closes https://github.com/mate-desktop/mate-panel/pull/258
2014-10-03Update Marco WM name as per Marco commitNathan Torchia1-1/+1
Closes https://github.com/mate-desktop/mate-panel/pull/240 cbf24f5d78719b930fc0cd6c0c80e00e9d62c95a
2014-06-25Restore way to close windows with middle clickStefano Karapetsas1-1/+2
It was forgot during transition to libwnck Closes https://github.com/mate-desktop/mate-panel/issues/191
2014-06-25Merge pull request #212 from rilian-la-te/fix_expandStefano Karapetsas1-0/+4
Fix expand
2014-06-20Fix RGBA issues for GTK3Konstantin Pugin1-0/+2
2014-06-20Fix expanded panels and size allocationKonstantin Pugin1-0/+4
2014-05-18clock: Dont use deprecated rsvg_pixbuf_from_file_at_sizeStefano Karapetsas3-9/+209
This required to copy some code from GTK3 source to make it working with GTK2 too Thanks to Sander Sweers for the help to replace rsvg_pixbuf_from_file_at_size
2014-05-17Remove/comment unused variablesinfirit1-2/+2
2014-05-17Use gtk_combo_box_text_new for gtk+2infirit1-6/+0
It was introduced in gtk+-2.24
2014-05-16Drop support for glib < 2.36infirit1-4/+0
2014-05-16Remove all calls gtk_dialog_set_has_separatorinfirit1-4/+0
2014-05-16Use gtk_list_store_insert_with_values also for gtk2infirit1-12/+0
It was introduced in gtk+-2.6.
2014-05-16Use gdk_window_get_width also for gtk2infirit1-4/+0
It was introduced in gtk+-2.24
2014-05-16Use GDK_WINDOW_XID for gtk+2 and gtk+3infirit2-12/+3
It was introduced in gdk2 already so clean up the code.
2014-04-28Remove autogenerated filesStefano Karapetsas2-203/+0
2014-04-26Use about dialog from libmate-desktopStefano Karapetsas7-7/+18
2014-02-21transient_parent_xid is not usedDenis Gorodnichev4-25/+1
transient_parent_xid is not used but can cause problem: applet widget have not window until realized
2014-02-12notification_area: Some GTK improvementsStefano Karapetsas2-3/+1