Age | Commit message (Collapse) | Author | Files | Lines |
|
invalid cast from plain struct to GtkWidget was causing a heap
of runtime warnings when saving area screenshot, and no busy cursor
was shown. fallout from 7d859a9e17f0c4f0b790e8b2a3d8ac25481d7fe6...
|
|
fixes https://github.com/mate-desktop/mate-utils/issues/166
same as done in:
https://git.gnome.org/browse/gnome-screenshot/commit/?id=31ff64e51ec0a36d82f2c16e47e9eabc371f302e
|
|
|
|
no need to mention GTK+3 anymore
|
|
and require mate-panel >= 1.17
|
|
|
|
Relying on configure events to resize the preview makes us do more
work than necessary and, in particular, gtk+ sometimes sends us phony
configure events sized 1x1 which make us hit a pretty CPU intensive
resize operation in gdk-pixbuf.
Instead, we can avoid all that by creating the preview pixbuf lazily
on the draw handler using the actual allocated widget size.
https://bugzilla.gnome.org/show_bug.cgi?id=768087
taken from:
https://git.gnome.org/browse/gnome-screenshot/commit/?id=c21823b
|
|
Use GdkDevice and GdkDeviceManager instead of the deprecated pointer GDK
API.
taken from:
https://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=29e5f8c
|
|
taken from:
https://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=e25c879
|
|
|
|
this fixes distcheck with creating mate-utils.pot
|
|
|
|
* added code from gnome-screenshot basically
|
|
|
|
* remove deprecated calls to:
- gdk_keyboard_grab
- gdk_pointer_grab
- gdk_keyboard_ungrab
- gdk_pointer_ungrab
GTK+3 Replace on_preview_expose_event
This method used many deprecated calles.
This method was replaced with on_preview_draw,
code taken directly from current gnome-screenshot
|
|
if using gtk3
|
|
* Add glade ui for gtk+3
* Remove usage of things like GTKHBox, GTKHButtonBox
and other deprecated widgets
|
|
|
|
|
|
fixes https://github.com/mate-desktop/mate-utils/issues/133
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Useful for correct ordering, fixes #115
Also drop the window name as we now have the time-stamp to
distinguish between screen-shots.
|
|
This reverts commit 9a5ca02338789b5604133e54b21abcaf0b57e505.
|
|
|
|
taken from:
https://github.com/mate-desktop/eom/commit/a2055e1
- bumped required intltool version to 0.50.1
- renamed and corrected gschema xml for proper intltool usage
- sorted lines in po/POTFILES.in (as requested in the header)
|
|
these two events are set up in the code anyway
|
|
Closes https://github.com/mate-desktop/mate-utils/pull/81
|
|
|
|
This reverts commit 21c397d825cb06890efb0e847c13b9c3c6254db0.
|
|
|
|
Remove, now unneeded, gdkkeysyms-compat.h include
Always use gtk_combo_box_text_new (since Gtk+ 2.24)
Gtk3: do not use gdk_cursor_unref
Gtk3: replace gtk_hpaned_new
Gtk3: replace gtk_widget_modify_font
|
|
|
|
|
|
|
|
Based on gnome-utils commit: 95edffa91ed559515d659187baba6ec7806b251b
From: Kjartan Maraas <[email protected]>
|
|
Code taken from commits:
screenshot: Rewrite event handling in area selection
772b9cc0774468ea21addb85ef843ee8dfef9e00
screenshot: add a workaround to avoid capturing the selection window
745eea03a3092fa055f76132971e3dd2bb4e8737
screenshot: Don't snap the selection
13741db3522aaac8be732567bca00d9c81929b72
|
|
|
|
|
|
|
|
|
|
An appdata file for inclusion in the upcoming software centers as per the new freedesktop.org specs.
It should be placed in /usr/share/appdata/ similar to the way .desktop files are placed in /usr/share/applications/, e.g. if you have a "$(datadir)/applications" definition in your makefiles, you need to add a "$(datadir)/appdata" as well.
Please, skim through the file in case I made a mistake and please, include it in the 1.8 branch as well.
Thanks!
|
|
|
|
gdk_x11_set_sm_client_id | Since 2.24
gdk_x11_display_get_xdisplay | Since 2.2
GDK_DISPLAY_XDISPLAY | Since always
GDK_WINDOW_XID | Since always
gdk_window_get_screen | Since 2.24
gdk_x11_window_foreign_new_for_display | Since 2.24
gdk_window_get_width | Since 2.24
gdk_window_get_height | Since 2.24
|