summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
2014-11-23Gtk3: panel-run-dialog: Use style-updated signal instead of style-setinfirit1-0/+17
Based on gnome-panel commit: b4deac9d217b4785d2c930a2deb2d94f5e4878d9 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: Port gdk_keyboard_grab to gdk_deviceinfirit3-7/+43
Based on gnome-panel commits: menu: 434e491bc4a280037638fb828529856276de3512 toplevel: e0bf14009416f19484bd0431a85744db7d907eb9 force-quit: 2760d89026ea5cf5bf25a4b8ceaf9f6dd2651043
2014-11-23panel-frame: Port to GtkStyleContext and Fix padding handlinginfirit1-72/+123
Based on gnome-panel commits: 8e36c34e6f356b0f49a044a5b54125dce4661f7c 45c30bc316db49b52bcacabcaa2e7977b63318cc From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: panel-menu-bar: Use gtk_render_focus() instead of gtk_paint_focus()infirit1-24/+34
Taken from gnome-panel commit: e75d7861c293be48a8e10ebbb1e0ab405be0bc7e From: Carlos Garcia Campos <[email protected]>
2014-11-22Gtk3: Sync get_preferred_width/height() usage with gnome-panelinfirit3-71/+130
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-22Small white-space fixesinfirit1-4/+4
2014-11-22Gtk3: panel-action-button: Port to GtkStyleContextinfirit1-0/+9
Based on gnome-panel commit: 3507d3ca74233d88f83df5f3f43a52ae2bc306d3 From: Carlos Garcia Campos <[email protected]>
2014-11-22Gtk3: button-widget: Port to GtkStyleContextinfirit1-47/+86
Based on gnome-panel commit: ee0fcd193030b433b5aa1785a864f89e25345f01 From: Carlos Garcia Campos <[email protected]> In the process make button_widget_{draw,expose} a little more readable.
2014-11-22Gtk3: Remove border of panel menu barinfirit1-1/+16
Taken from gnome-panel commit: d47c8957a1b7079891dee37b361694fce17b6b53 From: Carlos Garcia Campos <[email protected]>
2014-11-22Add a gtkimage with the current pixbuf to button-widgetinfirit1-0/+11
We need to add a child to the button to get the right allocation of the pixbuf. When the button is created without a pixbuf, get_preferred_width/height are called the first time when the widget is allocated and 0x0 size is cached by gtksizerequest. Since the widget doesn't change its size when a pixbuf is set, gtk_widget_queue_resize() always uses the cached values instead of calling get_preferred_width_height() again. So the actual size, based on pixbuf size, is never used. We are overriding the draw() method, so having a child doesn't affect the widget rendering anyway. Taken from gnome-panel commit: 0b8ace11087855d741cdeed97dc839db50319ae8 from: Carlos Garcia Campos <[email protected]>
2014-11-22Fix implicit declaration of function of gdk_x11_set_sm_client_idinfirit1-2/+0
We now use it for both Gtk+2 and Gtk+3
2014-11-22Gtk3: Fix use of pending deprecated gdk_pointer_grab()/_ungrab()infirit1-2/+31
eplaced gdk_pointer_grab() and gdk_pointer_ungrab() by gdk_device_grab() and gdk_device_ungrab(), respectively. Based on gnome-panel commit: eff5d569c162d508f996678f0d1ea8647c1b810d From: Germán Póo-Caamaño <[email protected]>
2014-11-22Gtk3: Fix use of deprecated gdk_pointer_grab()/_ungrab()infirit4-10/+105
Replaced gdk_pointer_grab() and gdk_pointer_ungrab() by gdk_device_grab() and gdk_device_ungrab(), respectively. Taken from gnome-panel commit: 98da5c1953ab90cc5581c1858d7a9c3d3cf796eb From: Germán Póo-Caamaño <[email protected]>
2014-11-22Small white-space fixinfirit1-2/+2
2014-11-22Gtk3: Fix use of deprecated gdk_display_get_pointer()infirit1-0/+12
Replaced gdk_display_get_pointer() by gdk_device_get_position() Taken from gnome-panel commit: c5111b57d5241f8e4e9f420df1a904f66fa2e89d From: Germán Póo-Caamaño <[email protected]>
2014-11-22Gtk3: Replaced gdk_cursor_unref() by g_object_unref()infirit5-0/+20
gdk_cursor_unref () is deprecated in Gtk+3
2014-11-22panel-addto: Remove the vbox as it is redundant.infirit1-21/+0
And cut down on some ifdef hell in the process.
2014-11-22button-widget: small white-space cleanupinfirit1-4/+4
2014-11-22panel-menu-botton: small white-space fixinfirit1-1/+1
2014-11-22gdk_x11_window_lookup_for_display was added in Gtk+2.24infirit1-7/+0
So cut down on the ifdef hell a bit.
2014-11-20Fix logic a bit - avoid dereferencing NULL pointermonsta1-1/+1
Closes https://github.com/mate-desktop/mate-panel/pull/257
2014-11-18fix crash if icon name is NULLDenis Gorodnichev1-0/+5
2014-11-18use gtk icon(pixmap) cache insteadof custom oneDenis Gorodnichev8-666/+121
2014-11-04lockdown: move disable-lock-down key to lockdown schemainfirit2-3/+3
In order to use it in other parts of MATE.
2014-10-16Fix memory leakDenis Gorodnichev1-0/+1
Closes https://github.com/mate-desktop/mate-panel/pull/244
2014-10-14Update visibility of menu bar on loadStefano Karapetsas1-0/+1
Closes https://github.com/mate-desktop/mate-panel/issues/245
2014-10-13Places menu: don't rely on Caja desktop filesBalló György2-19/+46
This adds better support for other GVFS-compliant file managers (e.g. nautilus, nemo, pcmanfm). Closes https://github.com/mate-desktop/mate-panel/pull/242
2014-10-13Fix segfault: gtk_get_current_event can return nullDenis Gorodnichev1-2/+5
fix segfault when gtk_get_current_event return null fix memory leak: gtk_get_current_event return value must be freed Closes https://github.com/mate-desktop/mate-panel/pull/243
2014-10-03Do not assume that session manager GSettings schema is availableBalló György1-5/+8
This removes hard dependency on mate-session-manager (useful for custom environments). Closes https://github.com/mate-desktop/mate-panel/pull/241
2014-10-02Use Caja GSettings schema optionallyBalló György1-4/+9
This was the last place where it was used unconditionally.
2014-09-22Add copyright about MATE developers on about windowStefano Karapetsas1-1/+2
2014-06-26Use MateColorButton in panel properties dialogStefano Karapetsas2-11/+13
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 Karapetsas3-40/+108
Fix expand
2014-06-25Merge pull request #211 from rilian-la-te/remove_opacity_key_gtk3Stefano Karapetsas2-6/+24
Remove opacity key gtk3
2014-06-20Fix RGBA issues for GTK3Konstantin Pugin9-72/+119
2014-06-20Fix expanded panels and size allocationKonstantin Pugin3-40/+108
2014-06-20Replace opacity key to alpha value in color key.Konstantin Pugin2-6/+24
2014-05-16Use pid in g_spawn_async like gnome-panel does, fixes warninginfirit1-1/+1
2014-05-16Use g_spawn_async also for gtk+2infirit1-8/+0
2014-05-16Drop support for glib < 2.36infirit1-4/+0
2014-05-16Use GDK_WINDOW_XIDinfirit3-23/+2
2014-05-16Use gdk_x11_set_sm_client_id also for gtk+2 (since 2.24)infirit2-10/+0
2014-05-16Drop support for gtk+ < 2.24infirit2-16/+0
2014-05-16Use gdk_x11_window_lookup_for_display also in gtk+2infirit1-4/+0
2014-05-16Remove all calls gtk_dialog_set_has_separatorinfirit2-8/+1
2014-05-16Use gdk_window_add_filter also for gtk+2infirit1-20/+0
2014-05-16Use gtk_widget_set_size_request which is also available in gtk+2infirit1-4/+0
2014-05-16Use GDK_WINDOW_XID for gtk+2 and gtk+3infirit3-36/+0
It was introduced in gdk2 already so clean up the code.
2014-05-12Use better dconf path for added appletsStefano Karapetsas1-1/+1