summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-07-18Fix GTK theme image bg support on vertical panellukefromdc1-0/+22
Themers can use the .vertical and .horizontal style classes to rotate a background on vertical panels the same way scrollbars are themed. Apply these style classes to PanelPlugs too so this can actually be used.
2017-07-18Make panel image background in GTK theme work againlukefromdc2-11/+45
*Support both url(image file) and gradient image panel backgrounds in the GTK theme. *Scaling by 1.0/panel dimensions should never have worked, doesn't now. Get the actual image dimensions instead *Background: disable in PanelPlug features that don't work on panel toplevel *panel-background: catch error on unsupported image such as -gtk-gradient An image bg set in the GTK theme needs to be a file or a css gradient as the older -gtk-gradient does not return a valid cairo_pattern_t when read directly *GTK 3.14,3.16: fix theme bg image render in plugs PanelPlug rendering is handled differently with GTK 3.14 and 3.16 than later versions. Handle this so all supported image backgrounds in GTK themes render properly in all supported GTK versions
2017-07-18fix applet crashes on transparent user-set panel bglukefromdc1-2/+4
Avoid cairo function that seemed to be causing crashes related to setting geometry, use code copied from panel-background.c instead
2017-07-11system 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-07-02GTK 3.18+ fix transparent default panel bglukefromdc1-1/+2
Transparent panel backgrounds set in GTK themes have not worked since the GTK 3.20 PanelPlug work. This was because NULL in gtk_window_set_background_pattern breaks on alpha values. Force this transparent and the GTK background is properly drawn
2017-06-11release 1.18.3v1.18.3monsta2-1/+16
2017-06-11sync with Transifexmonsta6-39/+40
2017-06-11menu: restore focus after drag-n-dropping menuitem outsidemonsta1-54/+1
2017-06-11menu: restore focus after closing popup menu of a menuitemmonsta1-0/+71
2017-06-11menu: remove incorrect code from the popup menu of a menuitemmonsta1-70/+0
fixes https://github.com/mate-desktop/mate-panel/issues/305
2017-06-11fix moving applets between panelsmonsta1-4/+6
fixes https://github.com/mate-desktop/mate-panel/issues/504 have to repeat my change from 024f89bc7c8074f753120d9c8ec4bd839745984b because of fallout from 225702b3c6a609065465c66f0f2739fc1d2184a9
2017-06-11status 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-06-08clock: drop deprecated gtk_size_group_set_ignore_hiddenmonsta2-3/+0
port of 6ae0ea92a925fae699a608b12d2274d52c12695d + 4de86661f4a6f67285333c67342c287f99deffeb
2017-06-06Fix: menubar/menu-button can't launch mozoZenWalker2-20/+12
Fixes #586
2017-05-24menu: fix crash when some .desktop file has empty Icon fieldmonsta1-6/+4
fixes https://github.com/mate-desktop/mate-panel/issues/494
2017-05-24clock: 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-24clock: move GtkButton in another horizontal GtkBox parentraveit651-3/+2
Fixes https://github.com/mate-desktop/mate-panel/issues/520
2017-05-20menu-button: disconnect from GSettings when applet is removedmonsta1-0/+3
fixes runtime warning on applet removal
2017-05-20action-button: disconnect from GSettings when applet is removedmonsta1-2/+6
fixes runtime warning on applet removal
2017-05-20remove a needless glib checkraveit651-3/+1
2017-05-20localized application's name and descriptionDenis Gorodnichev1-6/+4
g_desktop_app_info_get_string return unlocalized strings. g_app_info_get_name and g_app_info_get_description to get localized application's name and comment(description)
2017-05-11release 1.18.2v1.18.2raveit652-1/+16
2017-05-11sync with transifexraveit65113-4651/+6826
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-25fix build with gcc 4.9.2 (looks like it's in c89 mode by default)monsta1-1/+2
2017-04-25Run dialog: Add option to reverse history viewMoritz Bruder2-22/+43
A setting is added to show the run dialog history in reverse.
2017-04-25Run dialog: Fix wrong history len with max size 1Moritz Bruder1-17/+16
In a special case where the history size was 1, the actual history saved had length 2. In addition history is always written with new entries. One could also connect a signal to the max size property to force writing history (i.e., to shorten it).
2017-04-25Run dialog: Allow changing history sizeMoritz Bruder2-27/+39
A key has been added to the gsettings schema that controls history size. The code of the run dialog has been changed to use that key.
2017-04-18Run dialog: Fix wrong history orderMoritz Bruder1-1/+1
Initially the org.mate.panel.general.history-mate-run key was saved with the most recent command last. In combination with wrong code this led to scrambling the history. This commit changes the history storage in a way that most recent elements are stored first. The code adapts to this change by changing only one function to prepend instead of append in the list store. (Any old histories might therefore be wrong for a short time, but that's probably worth it to fix this bug.)
2017-04-16status-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 2017monsta7-7/+7
2017-04-11properly fit expanded panel to smaller screen sizemonsta1-9/+1
when changing panel orientation or rotating the screen itself, panel might keep its old size, so some applets might appear behind screen edge (until you restart the panel). same thing might happen when enabling hide buttons. fixes https://github.com/mate-desktop/mate-panel/issues/552 upstream commit with detailed problem description: https://git.gnome.org/browse/gnome-panel/commit/?id=fc24d8fa623c4cf841eb5168cb1c250b4a84d4da upstream commit with the actual fix: https://git.gnome.org/browse/gnome-panel/commit/?id=4511f4466df0b163906794b4a32196226ccf90f3 yes, it's somewhat messed up there :)
2017-04-10system-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-10notification-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-04-05Bump version to 1.18.1v1.18.1Martin Wimpress2-1/+15
2017-04-05Sync translations.Martin Wimpress104-12714/+7737
2017-04-03Reenable workspace switcher wrappingMoritz Bruder1-0/+112
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. port of 9b8f9e8147e27e19eb08a262a140b937051545b9 + fix from 9705869fdcf0f31bc05b8454cd7ec60b7b489234
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-30Simplify panel description shown when switching panels with the WMColomban Wendling1-57/+8
Fixes #530.
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-20setup custom iconDenis Gorodnichev2-1/+6
restore ability to configure launcher's custom icon which degradated after switching on g_app_info_get_icon also update launcher state after saving launcher's properties.
2017-03-17Revert "Suppress the shutdown option in the panel if LTSP_CLIENT is set"Scott Balneaves1-1/+1
This reverts commit 8c25e1bdd328a8712735c0b00cf4aede7993da1d. LTSP no longer requires this, and it in fact prevents LTSP machines from shutting down. Closes https://github.com/mate-desktop/mate-panel/issues/535
2017-03-13status-notifier: Plug a memory leakv1.18.0Colomban Wendling1-0/+1
2017-03-13notification area: Fix memory leak sorting itemsColomban Wendling1-0/+2