summaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)AuthorFilesLines
2017-12-28status-notifier: properly handle the NULL case for itemslukefromdc1-2/+4
patch by https://github.com/supermaz
2017-12-27status-notifier: handle wrong-size icons called by pathlukefromdc1-0/+4
Ensure icons called by filename and path instead of icon-name get scaled to match other tray icons
2017-12-27status-notifier: load icons specified by pathlukefromdc1-0/+4
Fix for https://github.com/mate-desktop/mate-panel/issues/695 and similar failures to load icons when the application calls for a path and not an icon name
2017-12-24status-notifier: fix failure to show icon for missing iconlukefromdc1-1/+4
Fix 1px wide invisible icon in cases such as https://github.com/mate-desktop/mate-panel/issues/695
2017-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela3-7/+8
This commit reverts: https://github.com/mate-desktop/mate-panel/commit/7b2bc7d9f98c6ba8c2c31bdf9605faadb42a7e0e And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-11-14wncklet: disconnect signals by data on destroymonsta2-27/+4
do the same as in 4fbe8e24933d367316441166ca448cdb03c6a35f this optimizes 9f43dd5c7c37b84960d06a98a4738ee40d8bfd50
2017-11-14clock: disconnect one more signal handler on destroymonsta1-0/+3
2017-11-09Clock: don't check variables that can never be < 0 for < 0lukefromdc2-6/+6
check them for = 0 instead. Found by cppcheck http://man7.org/linux/man-pages/man3/strftime.3.html This always returns 0 or a positive number of bytes
2017-11-09status-notifier: remove duplicate check found by cppchecklukefromdc1-2/+0
2017-10-16status-notifier: hide mate-polkit icon if passivelukefromdc1-1/+7
This needs to be special cased, and requires a change in mate-polkit to work
2017-10-16Apply position fix on popup to GTK 3.20 and earlierlukefromdc2-2/+8
2017-10-14GTK 3.22 status notifier: reposition menu when size changeslukefromdc2-0/+4
Also catch a missed instance of needing to reposition. This stops most cases of a bottom panel menu changing size and ending up too low.
2017-10-12GTK 3.22/status-notifer Fix menu position if size changed since last shownlukefromdc1-0/+2
Mostly fixes serious mispositioning of network-manager applet (indicator mode) menus when connections were changed on last showing of menu and applet is on bottom panel and especially bottom right
2017-08-22clock:disconnect signal handlers on destroylukefromdc1-22/+3
Don't just check for the clock's existance and return if it has been destroyed, disconnect them entirely when the clock is destroyed
2017-08-22Fix crashes on moving/removing applets with glib 2.53.4 or laterlukefromdc1-6/+4
*On destroying applet disconnect signals for functions that otherwise segfaults with glib 2.53.4 or later. *Fish: it's not always enough for a function to return immediately if applet destroyed anymore *panel-action-button: suppress a warning
2017-08-22gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker2-0/+15
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window gdk_screen_get_monitor_at_point
2017-08-16Add a gsettings key to enable/disable SNI Support (#600)Clement Lefebvre1-6/+13
2017-08-13wncklet: stop segfaults, warnings on removing in-process switcher, window-listlukefromdc2-20/+51
Fixes window list, workspace switcher. Window menu and show desktop no warnings or segfaults on removal when built in process
2017-08-13fish: fix adding back after removallukefromdc1-3/+6
These two "changed" functions get triggered by clearing gsettings values on exit, make them return immediately when this happens. Don't return from dispose on repeat call or applet can't be added back
2017-08-13Fish: stop all warnings on removing when built in-processlukefromdc1-0/+3
2017-08-13Clock: fix removal warnings when in-process applet removedlukefromdc1-4/+23
2017-08-13clock: stop segfault on removing applet when built in-processlukefromdc1-0/+4
This works, but does leave part of it in RAM until the panel is restarted. No change in out-of-process builds
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker3-6/+7
2017-08-04avoid deprecated gdk_screen_get_n_monitorsZenWalker1-0/+8
2017-08-02fish: fix applet opening as thin line when built in-processlukefromdc1-11/+21
Based on part of https://github.com/GNOME/gnome-panel/commit/f0f91805a1e39543487cfe67dfc47129e45e76f3 There was an issue where Wanda appeared as a thin line. The reason is that calling gtk_widget_set_size_request() in a size_allocate() handler doesn't work. So use an idle function for this. Also, only call gtk_widget_set_size_request() if really needed.
2017-08-02avoid deprecated gdk_screen_make_display_nameZenWalker1-5/+7
2017-07-29don't use deprecated gtk_show_urilukefromdc4-9/+19
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker5-13/+14
2017-07-08system tray: fix hidden icons on image/transparent color BGlukefromdc1-1/+1
Enable the force-redraw code unconditionally so it can function from the idle callback regardless of child->parent_relative_bg = TRUE/FALSE as it seems to now always be needed
2017-07-02clock: change size_reguestraveit651-1/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594
2017-07-02clock: set a default width for calendarWindowraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594
2017-07-02clock: set a margin_start for home iconraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594 Note: min value is 75 in my tests for ukraine language Reduced the margin, as it seemed to be the direct cause of a theme-independent jump.
2017-07-02clock: set width_chars for time labelraveit651-0/+1
fixes https://github.com/mate-desktop/mate-panel/issues/594 Note: in my language setting width_chars to 20 is minimum value to avoid a jumping clock UI, if hovering over another location which use another day. Maybe we need to increase the chosen value for other languages.
2017-05-29status notifier: follow same menu theme as rest of panellukefromdc1-0/+15
Support any menu theme set up for the panel's menus differing from the rest of the Gtk theme using the .mate-panel-menu-bar style class
2017-05-21clock: properly handle visibility of edit buttonAlberts Muktupāvels1-3/+14
Fixes https://github.com/mate-desktop/mate-panel/issues/570 taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=cc99dca
2017-05-21clock: drop deprecated gtk_size_group_set_ignore_hiddenraveit651-2/+0
seems that function doesn't work proper, see https://developer.gnome.org/gtk3/stable/GtkSizeGroup.html#gtk-size-group-set-ignore-hidden
2017-05-21clock: move GtkButton in another horizontal GtkBox parentraveit651-3/+2
Fixes https://github.com/mate-desktop/mate-panel/issues/520
2017-05-21clock.c: drop deprecated gtk_size_group_set_ignore_hiddenraveit651-1/+0
seems that function doesn't work proper, see https://developer.gnome.org/gtk3/stable/GtkSizeGroup.html#gtk-size-group-set-ignore-hidden
2017-05-08status-notifier: fix crash on unknown signal namemonsta1-1/+1
fixes https://github.com/mate-desktop/mate-panel/issues/571 taken from: https://git.gnome.org/browse/gnome-panel/commit/?id=f93821cc77892c7b262866d04bd8aa26ddafa154
2017-04-15status-notifier: Do not hide passive itemsColomban Wendling1-3/+2
Although the specification states that most hosts will hide those, several items report them as Passive all the time and thus never show up. So for now, just show everything. Fixes #537.
2017-04-11update copyright year to 2017monsta6-6/+6
2017-04-06system-tray: Properly propagate orientation changesColomban Wendling1-1/+6
This fixes menu positioning on some system tray items when the panel orientation changed since it was initially started.
2017-04-06notification-area: Fix item orientationColomban Wendling1-4/+4
Properly forward orientation to the items. This especially fixes SNI items height in vertical panels, but affects several other details on SNI items.
2017-03-31workspace switcher: handle GDK_SCROLL_SMOOTH and fix build warningmonsta1-3/+5
2017-03-30Reenable workspace switcher wrappingMoritz Bruder1-0/+110
These changes have been accidentally removed. The previously used handler has been added to the code again, which connects to the scroll event of the WnckPager widget.
2017-03-30status-notifier: Fix handling of icon-padding style propertyColomban Wendling3-1/+60
It should only affect the space between items, not all around, and that padding should be part of the item itself, not be outside of it.
2017-03-30status-notifier: Plug a memory leakColomban Wendling1-0/+1
2017-03-28remove deprecated sys/timeb.h header, as nothing uses itRobert Nagy1-1/+0
2017-03-24status-notifier-watcher: Allow re-registration of registered items (#543)Colomban Wendling1-0/+14
The SNI specification doesn't explicitly state what should happen when trying to register again an already registered item, so it would seem only logical to forbid it. Unfortunately, libappindicator tries re-registering pretty often, and even falls back to System Tray if it fails. So in practice we need to be forgiving and pretend it's OK, or we get a duplicate System Tray item for this one. Fixes #539.
2017-03-13status-notifier: Plug a memory leakv1.18.0Colomban Wendling1-0/+1