summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-08-13make it possible to get applet widgetlukefromdc4-0/+63
We will use this to get applet widget from factory. This will allow to bypass GtkPlug/GtkSocket. Based on https://github.com/GNOME/gnome-panel/commit/408bab094d1fad471b342548dabc58410a3dc327
2017-08-13libpanel-applet: add panel_applet_factory_get_applet_widgetlukefromdc2-0/+21
This function will be used to get applet widget from factory. Based on https://github.com/GNOME/gnome-panel/commit/8e1f7ea9f13533ce448cbc485d766fed01029be5
2017-08-13libpanel-applet: return process type and applet uidlukefromdc2-4/+19
Return applet process type and generated uid from factory. Process type will be needed to know if we should create GtkSocket, but uid will be used to get applet widget.
2017-08-13libpanel-applet: store factories in hash tablelukefromdc1-0/+34
Based on https://github.com/GNOME/gnome-panel/commit/dca3101714da67adc08fc986a6355afada4bde15 and needed for later commits libpanel-applet: store applets in hash table Based on https://github.com/GNOME/gnome-panel/commit/3fe6791d32a415a333bcb7d71d98a6de9929fa27 and needed for later commits
2017-08-13libpanel-applet: delay GtkPlug creationlukefromdc1-8/+23
We are going to create GtkPlug only for out of process applets and constructor is first place where we will know applet process type Based on https://github.com/GNOME/gnome-panel/commit/3ed0b1b87ecad205bdaed0ca52e8866bc0666863
2017-08-13libpanel-applet: add process type to private datalukefromdc3-1/+23
We will need to know this as soon we will create GtkPlug and GtkSocket only for out of process applets. based on https://github.com/GNOME/gnome-panel/commit/dafdc5714a6cfc7ebf26fcbd614b48cfc790b954
2017-08-13libpanel-applet: Remove out_process from panel_applet_factory_main()lukefromdc2-14/+55
This argument makes no sense when introspection is used since, in that case, the applet will be out-of-process anyway. Instead, create a panel_applet_factory_setup_in_process() API that is marked as "skip" for introspection, that is used to setup the factory for in-process applets. Based on https://github.com/GNOME/gnome-panel/commit/6ef943dd473ac662dea01645e0ab1f6564361253
2017-08-13avoid deprecated gdk_screen_get_width/heightZenWalker9-21/+40
2017-08-13Add missing include. (#642)Martin Wimpress1-0/+1
2017-08-04avoid deprecated gdk_screen_get_n_monitorsZenWalker2-0/+16
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-02Forces a window scale of 1 for the panel, instead of using the default or ↵Martin Wimpress1-0/+3
user configured scale. Closes #621
2017-08-02avoid deprecated gdk_screen_make_display_nameZenWalker4-19/+25
2017-07-31avoid deprecated gdk_display_get_screenZenWalker3-20/+16
2017-07-29don't use deprecated gtk_show_urilukefromdc6-14/+29
2017-07-18update issue_templateraveit651-0/+3
2017-07-18pre-release version bumpraveit652-1/+3
2017-07-18release 1.19.2v1.19.2raveit652-1/+12
2017-07-18sync with transifexraveit6511-290/+297
2017-07-17Revert "libmate-panel-applet: Fix another potential source of applet crashes"lukefromdc1-2/+0
This reverts commit cf46fb7f03d6ab0e106fa1cbfbf180fbbb9a5b75. *Note that this is because the code added was already present in the same function
2017-07-16avoid deprecated gdk_screen_get_numberZenWalker12-63/+66
2017-07-16libmate-panel-applet: Fix another potential source of applet crasheslukefromdc1-0/+2
Properly initialize pattern, GNOME found this stopped applet crashes on bg change(though not the same crashes we just fixed) based on https://github.com/GNOME/gnome-panel/commit/88b9beeb8ab69072fe6912af33c620143d17b0a3 We could return a random value from panel_applet_get_pattern_from_pixmap(), and that was very nasty.
2017-07-11fix 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-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-07Fix 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-02Make 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-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-06-27GTK 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-13release 1.19.1v1.19.1raveit652-1/+21
2017-06-11sync with Transifexmonsta6-39/+40
2017-06-08create issue_template.mdraveit651-0/+16
2017-06-07menu: restore focus after drag-n-dropping menuitem outsidemonsta1-54/+1
2017-06-07menu: restore focus after closing popup menu of a menuitemmonsta1-0/+71
2017-06-06Fix: menubar/menu-button can't launch mozoZenWalker2-20/+12
Fixes #586
2017-05-30menu: remove incorrect code from the popup menu of a menuitemmonsta1-70/+0
fixes https://github.com/mate-desktop/mate-panel/issues/305
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-29fix 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-05-25Restore Polish translation credits from GNOMEPiotr Drąg1-6/+12
2017-05-23menu: fix crash when some .desktop file has empty Icon fieldmonsta1-6/+4
fixes https://github.com/mate-desktop/mate-panel/issues/494
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-18localized 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-17menu-button: disconnect from GSettings when applet is removedmonsta1-0/+3
fixes runtime warning on applet removal
2017-05-17action-button: disconnect from GSettings when applet is removedmonsta1-2/+6
fixes runtime warning on applet removal
2017-05-16remove a needless glib checkraveit651-3/+1