summaryrefslogtreecommitdiff
path: root/mate-screenshot/src
AgeCommit message (Collapse)AuthorFilesLines
2017-04-27mate-screenshot: fix showing busy cursor when saving area screenshotmonsta1-1/+1
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...
2017-04-27screenshot: don't translate the timestamp in the filenamemonsta1-4/+1
fixes https://github.com/mate-desktop/mate-utils/issues/166 same as done in: https://git.gnome.org/browse/gnome-screenshot/commit/?id=31ff64e51ec0a36d82f2c16e47e9eabc371f302e
2016-09-01GTK+-3 screenshot-dialog: Avoid resizing the preview too muchraveit651-0/+19
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
2016-09-01GTK+-3 screenshot-utils: don't use deprecated GDK apiraveit651-0/+22
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
2016-09-01GTK+-3 screenshot-utils: use GtkStyleContext to draw the area selectionraveit651-2/+24
taken from: https://git.gnome.org/browse/gnome-screenshot/commit/?h=gnome-3-4&id=e25c879
2016-09-01avoid deprecated gdk_cursor_new ()raveit652-3/+7
2016-06-27Fix missing image and effect buttonsOz N Tiram1-3/+13
2016-06-20Add option to print version and exitOz N Tiram1-0/+7
* added code from gnome-screenshot basically
2016-06-20Remove usage of GtkAlignment with GTK+3Oz N Tiram1-2/+5
2016-06-20Some more fixes for gtk+3Oz N Tiram2-15/+70
* 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
2016-06-20Remove deprecated usage of gtk_image_new_from_stockOz N Tiram1-1/+5
if using gtk3
2016-06-20Modify glade file for the new glade format and use it for gtk3Oz N Tiram1-0/+5
* Add glade ui for gtk+3 * Remove usage of things like GTKHBox, GTKHButtonBox and other deprecated widgets
2016-03-23screenshot: fix indent a bitmonsta1-2/+2
2016-03-22Update mate-screenshot.cDaveBlack1-2/+2
2016-01-26screenshot: properly disable effects and delay when launched with -aimonsta1-0/+2
fixes https://github.com/mate-desktop/mate-utils/issues/133
2016-01-22[GTK+3] screenshot: fix deprecated usage of Gtk{H,V}Boxmonsta1-0/+36
2016-01-22[GTK+3] screenshot: fix deprecated usage of GtkMiscmonsta1-0/+25
2015-12-22mate-screenshot: reduce ifdef hell a bitmonsta1-19/+12
2015-09-25configure: drop useless --enable-deprecated optionMonsta1-2/+1
2015-09-09fix broken mate-screenshotmonsta1-1/+1
2015-09-09mate-screenshot: move stuff to data/ and src/ subdirsmonsta12-0/+3990