summaryrefslogtreecommitdiff
path: root/mate-panel
AgeCommit message (Collapse)AuthorFilesLines
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
2014-11-23Gtk3: menu-bar: Remove duplicate code in panel_menu_bar_class_initinfirit1-16/+1
This is also called (correctly per [1]) in panel_menu_bar_init Inspired by gnome-panel commit: 7230bad1c3bf2623d7fe2922422758ce56c95b16
2014-11-23Gtk3: Silence GtkBox deprecation warningsinfirit4-1/+15
2014-11-23Gtk3: button-widget: Use gtk_widget_render_icon_pixbuf() instead of ↵infirit1-0/+6
gtk_widget_render_icon() Based on gnome-panel commit: 6f13318fa892afde6ff35b6784217121481e3963 From: Carlos Garcia Campos <[email protected]>
2014-11-23applet: Disconnect show and deactivate menu signals before destroying the ↵infirit1-1/+9
applet menu Fixes crash while removing the menu bar or a drawer. Based on gnome-panel commit: 8211f19c2c331b1502694a03e1b5abfdc793b56b From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: panel-toplevel: Port to GtkStyleContextinfirit1-22/+146
Based on gnome-panel commit: 75e5bc6a50ef7ecc3cbb9f7833132cec900ff5c8 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: panel-separator: Port to GtkStyleContextinfirit1-34/+36
Based on gnome-panel commit: f2ff0440223641d7495560ef2bf99b2b61895cac From: Carlos Garcia Campos <[email protected]>
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