summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-12-12clock: use GNetworkMonitorinfirit2-153/+25
Taken from gnome-panel commit: 04e6ef4dbc6a1fdc720b750fdf87a7f43a8a2df6 From: Alberts Muktupāvels <[email protected]>
2014-12-08Update newsmate-panel-1.9.4infirit1-1/+17
2014-12-08removed obsolete configure optionMonsta1-1/+1
2014-12-08Bump version to 1.9.4infirit1-1/+1
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 arraysMonsta7-9/+9
2014-11-23don't leak memoryMonsta8-3/+8
2014-11-23Revert "gir: Require g-i 0.9.5 and stop using deprecated --strip-prefix option"infirit2-2/+4
This reverts commit 24e90fe2904ea0783562e64ef6981fc83373604f.
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() codeinfirit2-16/+18
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-23Gtk3: clock: Port to GtkStyleContextinfirit1-8/+59
Based on gnome-panel commit: c28ed51852a629884ce9ad8acc7924680c35854c From: Germán Póo-Caamaño <[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-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]>