summaryrefslogtreecommitdiff
path: root/mate-screenshot/src/screenshot-dialog.c
AgeCommit message (Collapse)AuthorFilesLines
2021-06-25update copyright to 2021raveit651-0/+1
2020-12-07GNU GPL 2 license notice without post box, after copyright noticerbuj1-12/+14
- Use always the same code snippet for including the top-level config.h
2020-04-16Remove bad-function-cast warningsrbuj1-3/+3
2020-03-09Define custom macros for wrapping the calls to gtk_builder_get_objectrbuj1-11/+13
2019-12-23Use gresources for UI filesrbuj1-3/+1
2019-07-04Remove trailing whitespacesLaurent Napias1-3/+3
2018-09-23screenshot: replace deprecated gdk_flushraveit651-1/+1
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...
2016-11-22mate-screenshot: rename .ui file to the original namemonsta1-1/+1
no need to mention GTK+3 anymore
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-79/+0
and require mate-panel >= 1.17
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-01avoid deprecated gdk_cursor_new ()raveit651-1/+3
2016-06-20Some more fixes for gtk+3Oz N Tiram1-14/+21
* 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-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
2015-09-09mate-screenshot: move stuff to data/ and src/ subdirsmonsta1-0/+422