summaryrefslogtreecommitdiff
path: root/mate-screenshot
AgeCommit message (Collapse)AuthorFilesLines
2018-01-27Add screenshot support for HiDPI displaysVictor Kareh1-17/+42
* Pointer coordinates needed scaling to show up in the correct location. * Window borders needed scaling to avoid a memory overflow when redrawing it. * Monitor dimensions needed scaling to show the correct size, as well as support for multi-monitor masking. Monitor masking is when you have multiple monitors with different sizes, and take a screenshot of the entire desktop. I am not currently able to test this last feature.
2018-01-15mate-screenshot: added New button (#184)Thiago Bighetti3-48/+76
* mate-screenshot: added New button
2018-01-04screenshot-save.c: Fix build warnings with ‘pipe’ ‘write’ and ↵Pablo Barciela1-9/+12
‘read’: ignoring return value declared with attribute warn_unused_result
2017-12-21WidthOfScreen and HeightOfScreen implementationPablo Barciela1-15/+11
This commit reverts: https://github.com/mate-desktop/mate-utils/commit/b210e404823cb5b1fa5b74d700fa3f89c2ea71a2 https://github.com/mate-desktop/mate-utils/commit/c0b5081bf32ee22094e15c5d76a8ac8e5806e4a5 And it applies an alternative to fix the deprecated functions: gkd_screen_width gdk_screen_height gdk_screen_get_width gdk_screen_get_height
2017-10-12screenshot: remove some unused codemonsta4-152/+0
2017-10-12screenshot: don't get window title as it's not used latermonsta1-12/+2
it's useless since https://github.com/mate-desktop/mate-utils/commit/8f060cfddeedc196cf8689ffc670a80cbe5698c6 fixes https://github.com/mate-desktop/mate-utils/issues/165
2017-08-29avoid deprecated gdk_screen_get_active_windowZenWalker1-1/+44
make new function taken from: https://git.gnome.org/browse/gtk+/commit/?id=6b9e481e38571f73237f6b8a38cb4bc6987bc4ca with little changes adapted to work in screenshot-utils.c
2017-08-21gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+4
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-08-11avoid deprecated gdk_screen_width/heightZenWalker1-8/+12
2017-08-11avoid deprecated gdk_screen_get_width/heightZenWalker1-2/+3
2017-08-10screenshot: avoid deprecated GdkDevice objectsraveit651-1/+49
2017-08-04avoid deprecated gdk_screen_get_n_monitorsZenWalker1-0/+8
2017-07-28don't use deprecated gtk_show_uriraveit651-0/+7
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-02screenshot: 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
2017-01-31drop all the ancient changelogsmonsta1-672/+0
2016-11-22mate-screenshot: rename .ui file to the original namemonsta3-2/+2
no need to mention GTK+3 anymore
2016-11-22move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta5-586/+5
and require mate-panel >= 1.17
2016-11-22fix indent a bit and remove some weird commented codemonsta1-4/+4
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-08-06screenshot: install both UI filesraveit651-6/+2
this fixes distcheck with creating mate-utils.pot
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 Tiram2-3/+6
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 Tiram3-1/+235
* 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
2016-01-03drop MateConf migration scriptsMonsta2-11/+1
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-09Fixup gettext domain in gsettings schemasinfirit1-1/+1
2015-09-09mate-screenshot: move stuff to data/ and src/ subdirsmonsta20-93/+85
2015-09-08Add a timestamp to screenshot filenames by defaultinfirit2-28/+18
Useful for correct ordering, fixes #115 Also drop the window name as we now have the time-stamp to distinguish between screen-shots.
2015-07-07Revert "help: fix help link in mate-screenshot"Monsta1-1/+1
This reverts commit 9a5ca02338789b5604133e54b21abcaf0b57e505.
2015-06-23help: fix help link in mate-screenshotraveit651-1/+1
2015-06-16fixes for gschema translationraveit652-21/+17
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)
2014-12-29mate-screenshot: fix UI load in GTK+3 buildMonsta1-2/+0
these two events are set up in the code anyway
2014-12-17mate-screenshot: show the actual error message when UI load failsMonsta1-4/+7
Closes https://github.com/mate-desktop/mate-utils/pull/81
2014-12-16mate-screenshot: Do not use g_settings_list_schemasinfirit1-10/+5
2014-12-15Revert "mate-screenshot: simplify get_desktop_dir()"infirit1-1/+27
This reverts commit 21c397d825cb06890efb0e847c13b9c3c6254db0.
2014-12-15mate-screenshot: simplify get_desktop_dir()infirit1-27/+1