summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-23gir: Require g-i 0.9.5 and stop using deprecated --strip-prefix optioninfirit2-4/+2
2014-11-23GDK_KEY_* is also in Gtk+2.24infirit1-9/+6
2014-11-23Gtk3: window-menu: Don't change selector style since it's already changed by ↵infirit1-25/+0
libwnck Based on gnome-panel commit: 60cb9c798ed25868c1c07b73fa08aabbb5892d2c From: Carlos Garcia Campos <[email protected]>
2014-11-23showdesktop: Fix the size of the iconinfirit1-2/+2
Based on gnome-panel commit: 6dae521ff187dcb2da1969ad017cf5b9e1bcb8f2 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: clock-map: Port to GtkStyleContextinfirit1-3/+9
Based on gnome-panel commit: 40391453286cce55039932d6dc3f741bb74e385f From: Germán Póo-Caamaño <[email protected]>
2014-11-23clock: Check allocated size before creating the shadow pixbufinfirit1-1/+2
Based on gnome-panel commit: d98b58770dec2f1434cb0acce487e85514ca9bb0 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: showdesktop: Port gtk_widget_get_style to GtkStyleContextinfirit1-0/+27
Based on gnome-panel commit: d27ef4de9ba872e5afc5e60430c7a16549158f61 From: Germán Póo-Caamaño <[email protected]>
2014-11-23Gtk3: Silence GtkBox deprecation warningsinfirit8-1/+36
2014-11-23Gtk3: clock: Port gtk_rc_parse_string to GtkCssProviderinfirit1-0/+15
Based on gnome-panel commit: 71c3290e3895b71be6bce0e909c4b414bd190b5e From: Germán Póo-Caamaño <[email protected]>
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-23Gtk3: showdesktop: Port to GtkStyleContextinfirit1-0/+17
Based on gnome-panel commit: fb1fa7ef2087b68fc7e7a01050e4c6747e8771e8 From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: window-menu: Use gtk_render_focus() instead of gtk_paint_focus()infirit1-14/+31
Based on gnome-panel commit: eab5174e71e705331c53482b7eecb56c1dc3ef6c From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: notification_area: Port to GtkStyleContextinfirit1-0/+17
Based on gnome-panel commit: 6d390be628ce8fccbfee5c5cca4e240fa391cdda From: Carlos Garcia Campos <[email protected]>
2014-11-23Gtk3: GtkBox is not abstract anymore.infirit1-2/+5
Based on gnome-panel commits, na-tray: Remove unneeded type NaBox: 9313543ecf3f8de10cb14977cd2eccd17e654968 From: Carlos Garcia Campos <[email protected]> na: Move creating of GtkBox for NaTray: 777b913142e61378e60c217c7c609e181202704c From: Vincent Untz <[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-panelinfirit5-111/+217
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 frame of window-menu appletinfirit1-0/+41
Based on gnome-panel commit: 1f086d72760569bc466de082e99a55a82ac06014 From: Carlos Garcia Campos <[email protected]>
2014-11-22Gtk3: window-list Don't use deprecated size-allocate signalinfirit1-4/+4
Take an additional change from gnome-panel that was not in MATE commit: 77a45f0abf8d0db41bb4b99e08dfbdd968cb6be8 From: Carlos Garcia Campos <[email protected]>
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-22na: Fix handling of SYSTEM_TRAY_CANCEL_MESSAGEinfirit1-5/+10
We were not looking at the right field for the message ID: the ID is in the 4th field for BEGIN_MESSAGE, but 2nd field for CANCEL_MESSAGE. Taken from gnome-panel commit: 8ff843458425d525b10fc5d9b7bb357248c637c8 From: Vincent Untz <[email protected]>
2014-11-22Bump version to 1.9.3mate-panel-1.9.3Stefano Karapetsas2-2/+2
2014-11-22Sync translations with transifexmate-i18n6-151/+138
2014-11-22clock: Use lists instead of arraysMonsta1-19/+7
Closes https://github.com/mate-desktop/mate-panel/pull/258
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-10Bump version to 1.9.2mate-panel-1.9.2Stefano Karapetsas2-2/+2
2014-11-10Sync translations with transifexmate-i18n2-47/+36
2014-11-04lockdown: move disable-lock-down key to lockdown schemainfirit4-9/+4
In order to use it in other parts of MATE.