summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
2015-11-12don't destroy a widget in its draw/expose signalMonsta1-2/+11
ported from: https://git.gnome.org/browse/gnome-panel/commit/?id=8c275a2adf4ad99297a17cabf251344837620831 https://git.gnome.org/browse/gnome-panel/commit/?id=be33e799d968a073c0a8856c96d11e8594b88bc4
2015-10-26bring back good old deprecated function which works perfectlyMonsta1-3/+1
thanks to some genius from gnome team, we're now supposed to re-implement gtk_widget_reparent from scratch in every place we need to move a widget between containers. thanks but no thanks. don't fix what's not broken. fixes #360
2015-10-25run dialog: make app description label unfocusableMonsta2-1/+2
2015-10-15Don't change position/right-stick of locked appletsClement Lefebvre1-4/+11
Until position calculations are refactored to fix the issue of the panel applets getting reordered on resolution changes don't save position/right-stick on locked applets.
2015-10-10panel-menu-items.c: places menu alpha OKlukefromdc1-1/+7
The places menu follows .mate-panel-menu-bar just fine, but buggy wm/gtk3.16 combos require robust RGBA support explicitly set in the application. Add support to panel-menu-items.c as only adding it to menu.c, applet.c, and mate-panel-applet.c will miss this menu.
2015-10-10panel-context-menu.c: custom menu theme supportlukefromdc1-0/+14
Make the panel context menu follow the .mate-panel-menu-bar .menu selector in the gtk theme, and the panel context menu window follow the .mate-panel-menu-bar selector. Use the former to set a custom menu theme, the latter to alter or remove shadows from applet menus. Include robust support for transparent themes even with gtk does not detect a compositing window manager so long as compositing is enabled.
2015-10-10menu.c: robust transparent theme supportlukefromdc1-3/+17
Ensure any transparent menu theme works even when gtk3.16 or later fails to detect a compositing window manager. This work also present on applet.c and mate-panel-applet.c theme support commits. Main menus already follow .mate-panel-menu-bar .menu so no changes to that
2015-10-10Add custom menu theming support to applet.clukefromdc1-0/+13
Make applet menus follow the .mate-panel-menu-bar .menu selector in the gtk theme, and the menu window follow the .mate-panel-menu-bar selector. Use the former to set a custom menu theme, the latter to alter or remove shadows from applet menus
2015-09-25eliminate criticalsDenis Gorodnichev2-1/+11
gdk_window_set_geometry_hints accept 0 as flags when geometry is null return 1px width/height while image is not loadded
2015-09-04Switch to org.gnome.SessionManagerClement Lefebvre1-3/+3
2015-09-04panel-run-dialog: Use g_spawn_async in both Gtk versions.infirit1-19/+17
2015-08-29Removed obsolete compatibility codeGymnasiast3-10/+1
2015-08-26Gtk3: Don't use deperated gtk_icon_info_freeyetist1-0/+4
2015-08-26Gtk3: fixed build warningyetist2-3/+7
2015-08-26Gtk3: Don't use deprecated gtk_style_context_get_fontyetist1-1/+1
2015-08-26Gtk3: Drop GtkArrow in panel_toplevel_add_hide_buttonyetist1-0/+36
2015-08-26use G_BEGIN_DECLS & G_END_DECLSyetist2-12/+4
2015-08-26Gtk3: gdk_display_get_n_screens() always return 1 from 3.10yetist1-0/+4
2015-08-26Gtk3: Don't use deprecated gdk_app_launch_context_newyetist1-0/+5
2015-08-26Always use gtk_container_remove/gtk_container_addinfirit1-4/+1
Should work fine under both Gtk+ versions.
2015-08-26Gtk3: Don't use deprecated gtk_widget_reparentyetist1-0/+5
2015-08-26Gtk3: Don't use deprecated gdk_cursor_newyetist2-5/+4
2015-08-26Gtk3: Don't use deprecated gtk_widget_render_icon_pixbufyetist1-9/+5
2015-08-26Gtk3: Don't use deprecated gdk_window_get_pointeryetist2-0/+16
2015-08-26Gtk3: Don't use deprecated gtk_widget_get_pointeryetist1-0/+24
2015-08-23drop xrandr 1.2 compatibility (it's ancient)Monsta1-64/+31
2015-08-06Gtk3: Set push_in to FALSEinfirit1-0/+4
We already do this for the same function in libmate-panel-applet. Thanks to luke on the forums. fixes #330
2015-08-02UI GTK3: use a size request for scrolled window in panel-run dialograveit651-0/+1
- this fixes program list in GTK3
2015-07-14Replace GtkObject with GObject also for Gtk+ 2infirit6-79/+2
2015-07-14Drop gdkkeysyms-compat usage in Gtk+3infirit6-109/+97
The new GDK_KEY_ keys are also in Gtk+2.
2015-07-14Remove unused variableinfirit1-3/+0
2015-07-01drawer: now opens fine after adding any applets and restarting sessionMonsta1-0/+3
2015-06-29Merge pull request #318 from City-busz/fix-force-quitmonsta1-7/+27
Fix Force-Quit panel applet to avoid hang with GTK3
2015-06-29Fix Force-Quit panel appletBalló György1-7/+27
This patch implements handling of XInput2 extension events in the applet. Without this patch, the applet fails to recognize such events (either mouse click for killing application, or escape key for exiting), hence freezing the desktop. Also fix the event mask in call of gdk_device_grab() for keyboard. Author: Sébastien Villemot <[email protected]> http://bugs.debian.org/698740
2015-06-28replace panel_xutils_set_window_type with gtk_window_set_type_hintJavier3-59/+1
Both functions have exactly the same semantics, so prefer the Gtk+ builtin.
2015-05-25Merge pull request #289 from rilian-la-te/simplify_imagemonsta2-74/+3
Remove change_background_for_widget from GTK3 build (it is useless.)
2015-05-21GTK3: fix typo in gtk_style_context mate-custom-panel-backgroundraveit651-2/+2
2015-04-09Cancel background settings upon MatePanelAppletFrameDBus destruction. This ↵Patrick Monnerat1-2/+1
is an attempt to fix https://github.com/mate-desktop/mate-panel/issues/214
2015-03-06Remove change_background_for_widget from GTK3 build (it is useless.)Konstantin Pugin2-74/+3
2015-01-14Set Cancel as default action when deleting a panel/drawerGilles G1-1/+1
Closes https://github.com/mate-desktop/mate-panel/pull/268
2015-01-14use mate_gdk_spawn_command_line_on_screen alwaysMonsta2-14/+1
Closes https://github.com/mate-desktop/mate-panel/pull/273
2014-12-07Revert "gdk_x11_window_lookup_for_display was added in Gtk+2.24"infirit1-0/+7
This reverts commit 9a8965fa0c783bc8221a1ccd55247e5e6a4ee88a. It caused the run dialog to fail.
2014-11-24va_start should be paired with va_endmonsta1-0/+1
2014-11-24zero-initialize all signals arraysMonsta2-2/+2
2014-11-23don't leak memoryMonsta6-2/+6
2014-11-23Gtk3: panel: focus-line-width is not needed when drawing ButtonWidgetinfirit1-2/+1
Based on gnome-panel commit: 8a942d16378f62015f302357e0e5b6f61b5713b3 From: Vincent Untz <[email protected]>
2014-11-23Gtk3: panel, clock: Synchronize calculate_minimum_height() codeinfirit1-14/+16
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-23panel: Add panel_run_dialog_get_combo_text() helperinfirit1-4/+14
Instead of writing some long line again and again, use a small helper. Taken from gnome-panel commit: 412ac2e4fa6a19c454b7046b9f57b9622a7b97d0 From: Vincent Untz <[email protected]>
2014-11-23Gtk3: panel: Draw the separator line where it shouldinfirit1-4/+14
The calculation wasn't done right. At least, I think so :-) Also cleanup a bit some code in the file. Based on gnome-panel commit: be822666a99680e5cd34c02ad2e35bea81f4a7d8 From: Vincent Untz <[email protected]>
2014-11-23Gtk3: panel: Explicitly check return value of cairo_surface_status()infirit1-1/+1
Do not assume that CAIRO_STATUS_SUCCESS == 0. This clarifies the code Taken from gnome-panel commit: d376b00a0a5856b3d5eb20a7dc1b39440d2f3938