Newer
Older
Various fixes for the build system.
Use latest Xfce-dev-tools to get rid of revision and linguas
substitution, remove the LINGUAS file. Use git instead of svn in the
version generation.
Fix distcheck by cleaning some pathes in Makefile.am and adding some
temporary files to POTFILES.skip.
2009-08-14 jeromeg
Generate the marshall header in lib/.
Add the module.xml file.
Fix opening of screenshots with an application.
A test was incorrect, and escaping the screenshot path is safer in
most cases.
2009-08-12 jeromeg
Add a scroll feature for the panel plugin.
When scrolling the panel plugin button, the region to be
screenshooted is changed. This is faster than opening the
preferences dialog.
2009-08-12 jeromeg
First implementation of a nice rubber banding.
When the screen is composited, use a nicer area selection mecanism. Draw
a fullscreen transparent window which is darker than the normal view.
When the user draws a rectangle with the mouse, show the "normal" view
in this rectangle: the area which will be grabbed is normal, the rest
of the screen is darker.
A "traditionnal" rubber banding ala Thunar or Xfdesktop could be nicer,
this has to be investigated.
2009-08-09 jeromeg
Pressing F1 now opens the help page.
2009-08-09 jeromeg
Set true as the default value for horodating.
Mark the default screenshot title as translatable.
Factorize the code to open the help page.
2009-08-09 jeromeg
Make enter validate the ZimageZ dialog.
2009-08-09 jeromeg
Use sd->title as a title in the ZimageZ information.
Add a default comment for the ZimageZ information.
2009-08-08 jeromeg
Split the function to get the date and the time.
2009-08-08 jeromeg
Use the XDG pictures directory as the default save location.
If it does not exist, use the home directory as a fallback.
2009-08-08 jeromeg
Remove the horodate checkbox and title entry.
Try to set some sane defaults: always append the date and the time to
the file name, the default title being "Screenshot". The title and
horodating options are still setable in the configuration file.
Fix the date format and always save the preferences in the main app.
2009-08-08 mmassonnet
Update documentation translations
Fixed the Indonesian documentation sub-directory, the autotools scripts were
incomplete.
Updated Italian and Galician documentation translation.
Move the horodate checkbox to improve the UI.
2009-08-07 jeromeg
Rework the actions dialog to add horodating.
Add two new options: the title of the capture is now customizable and
is used to generate the name of the saved captures. It is now also
possible to append the date and the time of capturing to the name of
the saved file (TODO: check if "horodating" exists in English).
Fix a leak in the panel plugin.
Improve the layout of the actions dialog.
Use horizontal boxes instead of a table to place the combobox and the
file chooser. This makes the dialog smaller and saves a lot of wasted
space.
2009-08-05 jeromeg
2009-08-03 jeromeg
If the user does not specify a save location, fallback to home.
2009-08-03 jeromeg
Fix a crash in the panel plugin and improve cli options handling.
Don't exit the gtk main loop when running the panel plugin, or the
panel plugin will be killed.
Don't accept two region options or two action options. Warn the user
that mouse, delay and action option are ignored when passed without a
region option. At the moment, those error and warning messages are only
displayed in logs or in a terminal. I don't think it's worth showing an
error dialog for this.
2009-08-03 jeromeg
Rainy day. Major interface rethinking.
This new interface is based on a suggestion by Yves-Alexis Pérez. The
former main dialog is split into two dialogs: one for selecting the
region to be captured and the delay, while the second one displays a
preview of the screenshot and lists the available actions.
The main application shows the first dialog, then the second one. If
one of the region cli options is given, the screenshot is taken
accordingly and the second dialog is displayed.
The panel plugin uses the first dialog as a configuration dialog. When
you click the plugin, the screenshot is taken and the second dialog is
shown.
2009-08-03 jeromeg
Reenable the old active window workaround.
In some cases, the WM/X server does not update the active window
quickly enough. When running the application and taking a screenshot
of the active window this can create a corrupted screenshot. Adding
a one second delay in that case fixes this issue.
2009-08-03 jeromeg
Improve the creation of the save dialog's thumbnail.
The thumbnail's width and height now have a maximum of 150 pixels, if
they are less than 150 pixels, use the screenshot itself as a
thumbnail.
2009-08-02 jeromeg
Always show the save dialog when we save a screenshot.
2009-08-02 jeromeg
Remove the option to take several screenshots in a row.
This option creates a lot of technical issues which are currently
painful to fix. Moreover, I want to keep things simple in the future.
2009-08-02 jeromeg
Remove the ugly sleep one second workaround.
Now that the idle func no longer creates the dialog, it shouldn't
be needed anymore. This needs some testing on a low computer.
2009-08-02 jeromeg
Simplify (screenshooter_take_and_output_screenshot).
Now, the main dialog of the application is created once in main.c
and hidden/shown when necessary. The idle func is now only responsible
for taking the screenshot and hidding/showing the dialog when needed.
Add a dialog member to the ScreenshotData struct, set it correctly in
the panel plugin and in the application. Fix some indentation in the
panel plugin code.
2009-08-02 jeromeg
Add the doc rules to the toplevel Makefile.am.
Also remove all the Makefile.am in the documentation directory.
2009-08-01 jeromeg
Add the icons' rules to the toplevel Makefile.am.
Fix various regressions due to the switch to a non-recursive Makefile:
make -j was broken (fixed by using LDADD) and the desktop file for the
panel plugin was not installed because of some copy/paste errors.
Still to be done: add the rules for the documentation to the toplevel
Makefile.am.
2009-07-31 jeromeg
Use a non-recursive Makefile.am to build the sources.
The non-recursive Makefile.am is used to build the convenience library,
the main application and the panel plugin. This reduces the build time
and it is no longer necessary to clean the whole project before build
to test changes in the convenience library.
Recursive make files are still used for the translations, the
documentation and the icons.
2009-07-30 jeromeg
Fix all warnings when running the autogen script.
Remove the AC_AIX, AC_ISC_POSIX and AC_MINIX macros which seem useless
and trigger a lot of warnings. Add the AC_USE_SYSTEM_EXTENSIONS macro
to configure.ac.in.
Do not use GNU make specific rules in {panel-plugin,src}/Makefile.am
and remove some trailing spaces in lib/Makefile.am.
2009-07-29 jeromeg
Use my Xfce adress everywhere.
2009-07-08 jeromeg
Update the documentation and the README.
2009-07-07 jeromeg
Fix ZimageZ login with UTF-8 characters.
g_strreverse should not be used with UTF-8 strings! Also fix the error
checking for the logout method, which is by the way broken (upstream
has been contacted for this).
2009-07-07 jeromeg
Use libsoup instead of XMLRPC-C.
Add libsoup as a dependency, remove the XMLRPC-C stuff. Factorize the
xmlrpc calls in lib/screenshooter-zimagez.c and add some additional
error checking.
2009-07-07 jeromeg
Use integers instead of strings to identify the information fields.
2009-07-05 jeromeg
Fix build with full debugging. Factorise some code.
The code now builds with the flags set by xfce4-dev-tools in trunk. Do
not escape user and password in screenshooter-zimagez.c, it fails. Move
some code to extra functions in this file.
2009-06-16 jeromeg
Post release version bump. Re-add svn tag.
2009-06-14 jeromeg
Merge the AUTHORS and the CONTRIBUTORS files. Update the README.
2009-06-14 jeromeg
Optimize the size of the images of the documentation.
2009-06-14 jeromeg
Get ready for the release.
Update the manpage, the documentation version numbers. Clean the TODO
file and the NEWS file.
2009-06-06 jeromeg
Remove some translatable strings. Fixes distcheck.
2009-06-06 jeromeg
Add English screenshots for not updated documentation translations.
This allows us to have English localised screenshots in the
documentation instead of missing images. Hopefully, those translations
and the screenshots will be updated before the release.
2009-06-06 jeromeg
Also wait one second, seems syncing is not enough.
2009-06-06 jeromeg
Sync the display instead of waiting one additionnal second.
Reimplement an old workaround to fix screenshots without delay.
If the delay is NULL, and under some vague conditions, there is
no active window detected. Waiting 1 second before doing anything is a
lame hack which fixes this issue.
2009-06-05 jeromeg
Try to fix bug #5424.
Destroy the main dialog before doing anything else. Normally, this will
prevent this dialog from remaining displayed on the screen and being
captured instead of the active window.
2009-06-03 jeromeg
Add the autotools stuff for the Turkish translation.
2009-05-31 jeromeg
Update Turkish translation and fix some typos in strings.
2009-05-31 jeromeg
Make some strings translatable, update the image of the documentation.
2009-05-31 jeromeg
Update the documentation.
2009-05-29 jeromeg
Fix a crash in the panel plugin.
Use sd->cli and sd->close correctly so that it does not exit the main
loop when running the panel plugin which makes it crash. Simplify the
code a bit and set the members of the structure correctly when
initializing the application and the plugin.
2009-05-28 jeromeg
Add a throbber to notify activity during the ZimageZ upload.
Take KatzeThrobber from Midori and relicense it to GPL2. Thanks a lot
to Christian Dywan.
2009-05-26 jeromeg
Add Danish translation for the documentation (Lars Christian Jensen).
2009-05-24 jeromeg
Fix a typo in a ZimageZ string, update the po files.
Also update the French translation and fix a bunch of typos that got on
the last update.
2009-05-24 jeromeg
Make strings consistent, improve them a bit and tweak the indentation.
2009-05-24 jeromeg
Escape all strings before sending them to the server.
Uploading still does not work if the user, the password, the comment
or the title contains a non alphanumerical caracter, but this should
improve things a bit a XML expects escaped strings. Use our own error
function in (cb_error).
2009-05-24 jeromeg
Use a valid dialog flag for the GtkMessageDialog.
2009-05-23 jeromeg
Fix the build of the ZimageZ stuff and improve the results dialog.
The results dialog now uses GtkTextViews in GtkFrames instead of labels,
alignments have also been added to enhance the look.
2009-05-23 jeromeg
* Only build the ZimageZ stuff if the dependencies are
installed. Makes libcurl and xmlrpc-c optional.
2009-05-23 jeromeg
* configure.ac.in: check for libcurl, it is needed by the
xmlrpc-c stuff.
2009-05-23 jeromeg
* src/main.c:
- save the last user when we are in CLI.
- free the last user when exiting.
2009-05-23 jeromeg
* lib/screenshooter-zimage.c: check if one of the fields is
empty, not only the last one...
2009-05-23 jeromeg
* lib/screenshooter-zimage.c, try to fix the last user issue:
- set the user as data of the job.
- give the string and not a pointer to the string to the job.
- only accept valid utf8 strings as users.
- update the last user in (cb_image_uploaded).
* TODO: update the todo list.
2009-05-21 jeromeg
* lib/sexy-url-label.{c,h}: mark some strings as translatable and
include the libxfce4util header to have the "_" translation
function.
* po/POTFILES.in: add the new translatable files.
2009-05-21 jeromeg
* lib/screenshooter-zimagez.c:
- remove (open_zimagez_link) and use (open_url_hook) in all
cases.
- (cb_image_uploaded) improve the dialog by using SexyUrl labels
instead of link buttons and by showing two usage examples, in
HTML and in BB code.
- (cb_image_uploaded) use constants for all strings.
2009-05-18 jeromeg
* Improve the status dialog of the upload to ZimageZ.
* Remember the last ZimageZ user name and put it in the user field
when displaying the dialog for the first time.
2009-05-18 jeromeg
* lib/screenshooter-dialogs.c:
- (screenshooter_dialog_new) add a radio button for uploading in the
actions. Indent some comments correctly.
- (cb_zimagez_toggled) add a callback for the radio button.
- remove some useless comments.
2009-05-18 jeromeg
* lib/screenshooter-global.h: add a cli gboolean to the ScreenshotData
structure. Combined with the close member of the structure, this
allows to close the application or not depending on how the
executable is called.
* src/main.c, lib/screenshooter-actions.{c,h}: move the dialog
stuff to (screenshooter_take_and_output_screenshot) which is
from now on a GSourceFunc. It returns TRUE if we want to take
another screenshot, else it quits the main loop and returns
FALSE. It is called via g_idle_add in (main), which allows us
to always have a main loop. The workaround consisting in
sleep (1) before taking a screenshot seems useless now.
* lib/screenshooter-zimagez.c: don't start and exit a main
loop here, run the dialog instead of showing it.
* panel-plugin/screenshooter-plugin.c: set the cli member of the
structure to false when initializing the plugin.
2009-05-18 jeromeg
* lib/screenshooter-utils.c (screenshooter_error),
lib/screenshooter-job.c (screenshooter_job_ask_info):
do not initialize va_list to NULL, that's wrong and useless.
Thanks to Enrico Tröger.
2009-05-17 jeromeg
* lib/screenshooter-zimagez.c:
- (zimagez_upload_job) remove a useless cancel check before the loop.
- (cb_ask_for_information) do not disconnect handlers before
cancelling the job, only before destroying it.
2009-05-17 jeromeg
* lib/screenshooter-utils.{c,h}: use a constant in
(screenshooter_read_rc_file) and (screenshooter_write_rc_file).
* src/main.c:
- use a constant for the rc file.
- don't save the preferences in the callback but in (main).
2009-05-16 jeromeg
* lib/screenshooter-utils.{c,h}: add (screenshooter_error) which shows
an error using a GtkMessageDialog.
* lib/*, panel-plugin/screenshooter-plugin.c, src/main.c:
- use (screenshooter_error) instead of (xfce_err).
- remove some trailing white spaces.
* lib/screenshooter-job.c (screenshooter_job_ask_info): add a missing return,
when the job has been cancelled.
* TODO: updated.
2009-05-15 jeromeg
* src/main.c:
- add the glib and stdlib headers.
- use RETURN_SUCCESS and RETURN_FAILURE instead of 0 and 1.
* lib/exo-simple-job.{c,h}, lib/exo-job.{c,h}: take the job framework
from Exo written by Jannis Pohlmann. Thank you Jannis!
* lib/screenshooter-job.{c,h}, lib/screenshooter-simple-job.{c,h}:
ScreenshooterJob is based on ExoJob, it provides to additional signals,
ask and image-uploaded.
* lib/screenshooter-marshal.list: add some marshallers for the new
signals.
* lib/screenshooter-zimagez.{c,h}: port the existing code to use a
ScreenshooterJob. Thanks to Jannis for his great help! This fixes
a bunch of problems that occured with the previous implementation.
The dialogs still need to be polished.
* lib/screenshooter-actions.c: use the new function.
* lib/Makefile.am:
- add some magic to generate the marshallers.
- sort the source files by alphabetical order.
* configure.ac.in: bump the GThreads required version to 2.16.
2009-05-05 jeromeg
* lib/screenshooter-zimagez.c: make the dialog unresizable and destroy
it when we are done. Remove useless blank spaces.
2009-05-04 jeromeg
* lib/sexy-url-label.{c,h}: add the sexy_url_label taken from
libsexy.
* lib/screenshooter-zimagez.{c,h}:
- add a link to ZimageZ so that users can create an account easily.
- add tooltips for the different entries.
- if one of the fiels is empty when the dialog is validated, show it
again and ask the user to fill all the fields.
- plug some leaks and fix a double free issue.
2009-05-04 jeromeg
* lib/screenshooter-zimagez.c:
- (screenshooter_upload_to_zimagez):
+ use a GtkTable to improve the layout.
+ add a cancel button to the dialog.
+ display a warning if the password/user name was not correct
when respawning the dialog.
+ make the labels left aligned and vertically centered to
improve the look of the dialog.
+ tweak the layout by adding an alignment.
- (screenshooter_display_zimagez_links) document this function.
2009-05-04 jeromeg
* lib/screenshooter-zimagez.c: loop until the user has entered the
correct user/password couple.
2009-05-02 jeromeg
* lib/screenshooter-zimagez.{c,h}:
- (warn_if_fault_occurred) should be static.
- add some comments.
- (screenshooter_upload_to_zimagez) now returns a gchar* containing
the name of the uploaded image and NULL is the upload failed.
- (screenshooter_display_zimagez_links) new function which shows a
dialog to present the different links to the uploaded image. At
the moment, plain GtkLinkButtons are used, this still needs to be
improved.
- (open_url_hook) hook to open the links using xdg-open.
* lib/screenshooter-actions.c:
- use constants where possible.
- use (screenshooter_display_zimagez_links) to display the result of
the upload.
* lib/screenshooter-utils.{c,h}, lib/screenshooter-dialogs.{c,h}:
use constants where possible.
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
2009-05-01 jeromeg
This still needs a lot of polishment, but let's make things public.
* src/Makefile.am, panel-plugin/Makefile.am: change the linking order.
* lib/screenshooter-zimagez.c:
- (warn_if_fault_occurred) to warn if an error occured during the XML
transaction.
- (screenshooter_upload_to_zimagez) to upload the screenshot. Still needs
a lot of polish, but at least it works.
* TODO: updated.
2009-04-19 jeromeg
* src/main.c:
- sort the CLI options by alphabetical order.
- add an upload CLI option.
- add some G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-actions.c:
- add some G_LIKELY and G_UNLIKELY macros.
- call the upload function when the user requested it.
* lib/screenshooter-utils.{c,h}: add a (rot13) function to encode the
password before sending it.
* lib/screenshooter-zimagez.{c,h}: two new files to support the upload
of screenshots to ZimageZ.com, a free Web hosting solution.
* lib/screenshooter-global.h: add the upload option.
* lib/Makefile.am: add the two new files to the source.
* configure.ac.in: check for xmlrpc-c, this is a bit uggly, but xmlrpc-c
does not provide a .pc file...
Jerome Guelfucci
committed
2009-04-18 jeromeg
* lib/screenshooter-utils.c: start to add G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-dialogs.c:
- more indentation improvements.
- start to add G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-capture.c: start to add G_LIKELY and G_UNLIKELY macros.
* lib/screenshooter-capture.h: add the glib header.
2009-04-16 jeromeg
* lib/screenshooter-actions.c: minor indentation change.
* lib/screenshooter-utils.c:
- minor indentation improvements.
- (screenshooter_read_rc_file) only get the home uri once.
* lib/screenshooter-capture.c:
- minor indentation improvements.
- correctly document (screenshooter_take_screenshot).
2009-04-16 jeromeg
* panel-plugin/screenshooter-plugin.c:
- remove the wrong XFCE_PANEL_PLUGIN_REGISTER_INTERNAL macro call,
the plugin is external.
- add (set_panel_button_tooltip) to simplify the code, this function
sets the tooltip according to the area to be captured.
- use g_spawn_command_line_async to laucnh the help window.
- improve the indentation in some places.
* lib/screenshooter-utils.c:
- improve the indentation in some places.
- (screenshooter_open_screenshot):
+ declare the variables at the beginning of the code block.
+ use g_spawn_command_line_async to launch the applications.
* lib/screenshooter-dialogs.c: improve the indentation.
2009-04-12 jeromeg
* src/main.c:
- improve the indentation.
- use g_spawn_command_line_async to launch the help.
* lib/screenshooter-capture.c: fix a typo.
2009-04-12 jeromeg
* xfce4-screenshooter.1: add the 'mouse' CLI option to the manpage.
* lib/screenshooter-dialogs.c:
- improve the indentation in some places.
- use gtk_radio_button_new_with_label_from_widget to create the
radio buttons.
- add some missing tooltips.
* lib/screenshooter-utils.h: remove a useless include.
* lib/screenshooter-capture.h: add the missing unistd.h include.
Reorganise the code.
* lib/screenshooter-global.h: put global structures and enumerations
here.
* lib/screenshooter-capture.{c,h}: move the code for capturing windows
and rectangular areas here.
* lib/*.{c,h}: modify the old files to use those new ones.
* lib/Makefile.am: add the new files to the source files.
* Update the NEWS file.
* lib/screenshooter-utils.c: try to fix bug #5204 where the cursor
was not displayed at the correct location.
2009-03-30 jeromeg
* CONTRIBUTORS: update the contributors list.
* NEWS: update the news file.
* lib/screenshooter-dialogs.c (cb_progress_upload):
- show the number of transferred Kb and the number of total
Kb instead of displaying the number of remaining bytes.
* lib/screenshooter-dialogs.c:
- remove some unused variables.
- reduce the spacing between the two top columns.
- Remove the ":" in the "After capturing:" label.
- correctly set the spacing of the 'After capturing' section.
New improved interface.
* lib/screenshooter-utils.{c,h}: add a close item to the
ScreenshotData structure. Allows the user to choose between
closing the application and taking another screenshot.
* src/main.c (cb_dialog_response): implement the close stuff.
* lib/screenshooter-dialogs.c: Rewrite most of the interface.
- use tables to align the widgets.
- use a two column layout.
- add an option to close/ don't close the application after
taking a screenshot.
2009-03-20 jeromeg
* lib/screenshooter-dialogs.c (save_screenshot_to_remote_location):
- simplify the function.
- add a label saying what is happening and saying where the
screenshot is being uploaded.
* lib/screenshooter-dialogs.c: add a lot of missing prototypes.
2009-03-20 jeromeg
* lib/screenshooter-dialogs.c: (screenshooter_dialog_new) only
set the show mouse checkbox as sensitive if "select a region"
is not checked.
* lib/screenshooter-utils.c:
- (get_rectangle_screenshot) use a dotted rectangle, with a 2px
wide border.
- (screenshooter_open_screenshot) simplify the function.
- (screenshooter_get_home_uri) use g_getenv and g_get_homedir.
2009-03-15 jeromeg
* Add the Italian documentation.
2009-03-14 jeromeg
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
Fix most of the issues introduced by the previous commit.
Gthread-2.0 >= 2.6.0 is now required.
* configure.ac.in, src/main.c, src/Makefile.am,
panel-plugin/screenshooter-plugin.c, panel-plugin/Makefile.am:
add a dependence on gthread and initialize the threads at startup.
* TODO: updated.
* lib/screenshooter-actions.c: use the URI of the temporary directory
and not its path, fixes the open with mode.
* lib/screenshooter-dialogs.c:
- (cb_progress_upload) add the remaining number of bytes to the
progress bar.
- (cb_finished_upload) add some debugging information.
- (save_screenshot_to_local_path) return the save location.
- (save_screenshot_to_remote_location):
+ tweak the layout of the progress dialog.
+ run the dialog AFTER starting the copy so that it does not block
everything.
+ delete the temp file after the transfer.
- (save_screenshot_to) return the save location when saving to a
local destination.
- (screenshooter_save_screenshot):
+ destroy the dialog as early as possible so that it does not
block the main loop.
+ fix the open with mode here too.
* autogen.sh: use git svn instead of git svn.
2009-03-12 jeromeg
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
Port the saving of screenshots to GIO. Some things still need to be
polished. Some things might be broken, like opening a screenshot with
an application.
* lib/screenshooter-utils.{c,h}:
- (screenshooter_get_home_uri) simplify the function.
- (screenshooter_is_remote_uri) new function to detect remote uris.
* lib/screenshooter-dialogs.c:
- (cb_progress_upload) new function to set the progress bar of the
transfer dialog.
- (cb_finished_upload) new function to report errors that could have
occurred during the transfer and to close the transfer dialog when
we are done.
- (cb_transfer_dialog_response) new function to allow a transfer to
be cancelled.
- (save_screenshot_to_local_path) new function to save a screenshot
to a local path.
- (save_screenshot_to_remote_location) new function to save a screenshot
to a remote place. It saves the screenshot to the temporary directory
and copies it to the remote location. A dialog shows the progress of
the transfer and offers to cancel it.
- (save_screenshot_to) new function to choose between one of the two
above save functions.
- (screenshooter_save_screenshot) rework the function to use the
functions listed above.
2009-03-09 jeromeg
Start porting the application to GIO. From now on,
sd->screenshot_dir is an URI to the save directory.
* src/main.c (main):
- don't do anything before gtk is initialized.
- use a GFile for the default save directory.
- fallback to the home URI if the directory stored in preferences
does not exist anymore.
- use GIO for the command line argument.
- use xfce_err to show an error instead of g_error.
* lib/screenshooter-actions.c: fallback to the home URI.
* lib/screenshooter-utils.c:
- (screenshooter_read_rc_file) fallback to the home URI.
- (screenshooter_get_home_uri) new function to get the URI of the
home folder.
* lib/screenshooter-utils.h: add he prototype of the new function.
* lib/screenshooter-dialogs.c:
- (screenshooter_dialog_new) use uris in the gtk file chooser.
- (screenshooter_save_screenshot) use uris in the gtk file chooser.
- (cb_default_folder) get the uri instead of the file name.
- (generate_filename_for_uri) use GFiles instead of plain paths.
2009-03-08 jeromeg
Patch from Mike Massonnet.
* lib/screenshooter-dialogs.c (screenshooter_dialog_new):
- use "Ok" and "Cancel" buttons to make the layout cleaner.
- do not display a separator to be consistent with other goodies.
- improve the label of the mouse check box.
- add a subtitile for the dialog.
- the dialog does not need to be resizable, widgets are not resized
dynamically.
- tweak the spacing of the delay spin button box.
2009-03-08 jeromeg
Now, when taking a region screenshot, the Escape key cancels everything.
* lib/screenshooter-actions.c: don't do anything if the screenshot is
NULL.
* lib/screenshooter-utils.c:
- include the keysim header.
- (get_rectangle_screenshot):
+ grab the keyboard.
+ cancel the screenshot if escape is pressed.
+ return NULL if the screenshot was cancelled.
2009-03-08 jeromeg
* lib/screenshooter-dialogs.c (screenshooter_dialog_new): add some
padding for the new check box to separate it from the radio button
group.
2009-03-08 jeromeg
* lib/screenshooter-dialogs.c:
- (screenshooter_dialog_new) Add a check box to show/hide the mouse
pointer on screenshots.
- (cb_show_mouse_toggled) Add the callback for this new check box.
* lib/screenshooter-dialogs.c (screenshooter_dialog_new):
- try to make the UI a bit more intuitive by putting the directory
chooser on the same line as the radio button and by saying
in the save checkbox that it is possible to have no save dialog
displayed.
- Rename the "Take the screenshot" button to "Take" to decrease
the width of the dialog.
* lib/screenshooter-dialogs.c: (screenshooter_dialog_new) make
the dialog more compact by removing the "Applications" label
and putting the combobox on the same line as the radio button.
2009-03-07 jeromeg
* src/main.c: add a CLI option not to capture the mouse pointer.
2009-03-05 jeromeg
* Fix a build problem caused by the bumping of the dependencies.
* lib/screenshooter-utils.c:
- (get_window_screenshot) add an argument to make the mouse capture optional.
- (screenshooter_take_screenshot) ditto
- read and save show_mouse in the configuration file.
- update the prototypes.
* lib/screenshooter-utils.h:
- add a show_mouse item to the ScreenshotData structure.
- update a prototype.
* lib/screenshooter-actions.c: use the new functions arguments.
2009-02-26 jeromeg
* Bump gtk required to 2.12.
* Bump glib required version to 2.16.
* Remove all previous ifdef.
=== 1.5.1 ===
Jerome Guelfucci
committed
* Last minute bug fixes:
- plug a remaining leak.
- clean up the actions file.
- fix the hide option.
* Bump the version number.
* Update NEWS.
* Update TODO.
* lib/screenshooter-utils.c:
- (get_window_screenshot) also grab the mouse pointer.
- add some additional debugging information.
* lib/screenshooter-dialogs.c:
(set_default_item) do not look up for a default item if the tree is empty.
* lib/screenshooter-utils.c: add some additionnal debugging information.
2009-02-22 jeromeg
* panel-plugin/: add some debugging information for the plugin.
2009-02-15 jeromeg
* docs/, po-docs/, po/: add Japanese documentation and update the
Japanese translation. (Hashimoto Masato)
2009-02-15 jeromeg
* lib/screenshooter-actions.c: correctly set the active folder in the
file chooser, this is useful when using the -s cli option. Patch by
Enrico Tröger.
2009-02-08 jeromeg
* configure.ac.in: add maintainer information about xml2po and
xsltproc.
2009-02-08 jeromeg
* docs/, po-doc, configure.ac.in: add French documentation.
2009-02-07 jeromeg
* docs, po-doc: implement a docbook based help file which is now
translatable through po files. Some bits are still missing.
* src/xfce4-screenshooter.desktop.in.in: don't use a verb in the title.
* NEWS: updated.
* src/main.c: try to fix build without GIO.
* src/main.c:
- don't display the window again after taking a screenshot, this can
be annoying and/or surprising.
- remove a lot of unneeded white spaces.
2009-01-22 jeromeg
* src/main.c: fix a bug which displayed the header of the po files
when using --help on OpenBSD.
* po/: update po files, no string changes though.