Newer
Older
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.
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
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
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
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
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
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.
* configure.ac.in: post release bump, add svn tag.
=== 1.5.0 ===
Jerome Guelfucci
committed
* configure.ac.in: fix a typo in the version number.
* NEWS: set version.
* configure.ac.in: get ready for a new release.
* xfce4-screenshooter.1: bump version.
* panel-plugin/screenshooter-plugin.c:
- (screenshooter_plugin_read_rc_file) plug a leak.
- (screenshooter_plugin_write_rc_file) plug a leak.
* NEWS: updated.
* Update NEWS and TODO.
2009-01-13 jeromeg
Thanks to Jannis and Stephan for the C lesson!
* lib/screenshooter-dialogs.c: (generate_filename_for_uri) rewritten
to avoid a memory leak on each step of the loop.
* lib/screenshooter-actions.c: remove two memory leaks.
* src/xfce4-screenshooter.desktop.in.in,
panel-plugin/screenshooter.desktop.in.in: Fix a typo in the comment,
thanks to Per Kongstad (p_kongstad@op.pl).
* Set svn:ignore properties correctly.
2009-01-08
* configure.ac.in: improve the autotools stuff and print the debug
level when printing the configuration.
* Don't use -Werror.
* NEWS: updated.
* TODO: updated.
2009-01-05
* doc/id: add Indonesian documentation by Andhika Padmawan.
* doc/fr, doc/C: fix the markup of a title in xfce4-screenshooter.html
* configure.ac.in:
- add id doc.
- set version number for next release.
* Improve the compiler flags set.
* configure.ac.in:
- use @LINGUAS@ instead of copying things from po/LINGUAS manually.
- set debugging as full for svn snapshots.
* panel-plugin/screenshooter-plugin.c: directly use button instead of
pd->button.
* Post release bump.
* Fix two compiler warnings.
=== 1.4.90 ===
Jerome Guelfucci
committed
* Get ready for 1.4.90:
- set version name
- update changelog
- bump xfce4-panel dependecy to 4.4
- update README with the new website
- update copyrights for new year
- remove -Werror warning
* Rename the application to xfce4 screenshooter in all places.
* README: updated.
* Fix bug 4748:
- remove (cb_current_folder_changed).
- don't connect the signal in (screenshooter_save_screenshot).
* NEWS: updated.
* Fix a bunch of compilation warnings.
* lib/screenshooter-dialogs.c (screenshooter_dialog_new): improve a
tooltip.
2008-12-28 jeromeg
* Rename "mode" into "region" and "RECTANGLE" into "SELECT".
* NEWS: updated.
* src/main.c:
- only read the preferences file once when using the application.
- check if the directory name stored in the preferences still exists
before trying to use it.
* lib/screenshooter-actions.c: set home as the default folder for the
file chooser, only use sd->screenshot_dir when we don't show the
save dialog. This should be more transparent for the user.
* NEWS: updated.
* doc/C: improve some details.
* doc/{C,fr}/xfce4-screenshooter.html: update and improve the doc.
* xfce4-screenshooter.1: update the manpage.
* doc/C/xfce4-screenshooter.html: add the new CLI options to the
documentation.
* src/main.c:
- add a CLI option to open the screenshot with an application.
- add a CLI option to take the screenshot of a region.
- set a warning string as translatable.
- update the description of the CLI options.
- use screenshooter_take_and_output_screenshot
2008-12-20 jeromeg
* src/main.c (cb_dialog_response): only sleep one second if mode is not
rectangular selection.
* doc/C/images: update the screenshot.
* doc/C/xfce4-screenshooter.html:
- update with the new options
- apply a patch by David Mohr to improve some parts.
2008-12-16 jeromeg
* Forgot to update the tooltip for the panel button...
2008-12-16 jeromeg
* lib/screenshooter-dialogs.c (screenshooter_dialog_new):
- improve the tooltip for the "Select a region"
- split strings so that they are not too long, makes the code easier
to read.
* po/: update-po.
* lib/screenshooter-dialogs.c:
- (cb_fullscreen_screen_toggled) remove some obsolete code.
- (screenshooter_dialog_new) mark "Application:" as translatable.
2008-12-14 jeromeg
* CONTRIBUTORS: updated.
* TODO: add some items.
2008-12-14 jeromeg
* lib/screenshooter-utils.c: (get_window_screenshot) don't crash when
we are in active window mode and NULL is returned as the active
window. The root window should not be unrefed !
2008-12-13 jeromeg
* lib/screenshooter-dialogs.c: change a few strings.
* Update the desktop files.
* po/: update po.
2008-12-13 jeromeg
* lib/screenshooter-utils.{c,h}: add RECTANGLE mode, based on David
Collins patch.
* lib/screenshooter-dialogs.c: update the dialog for the new mode,
patch by David Collins.
* panel-plugin/screenshooter-plugin.c: update the tooltips for the new
mode.
* NEWS: updated.
2008-12-12 jeromeg
* lib/screenshooter-dialogs.c: change a string and add a subtitle for
the preferences dialog of the plugin.
* panel-plugin/screenshooter.desktop.in.in: change the name of the
desktop file.
2008-12-07 jeromeg
* doc/: improve the English and the French documentation.
2008-12-07 jeromeg
* doc/C/: first try for the english doc completed.
* doc/C/: Start english documentation
2008-12-06 jeromeg
* lib/screenshooter-dialogs.c: add help button to the dialog.
* src/main.c: rework the managing of the dialog response and a support
for the help button.
* panel-plugin/screenshooter-plugin.c: add support for help button.
2008-12-06 jeromeg
* doc/fr/: update the french translation.
2008-12-06 jeromeg
* lib/screenshooter-dialogs.c: improve a few strings.
2008-12-05 jeromeg
* doc/fr/xfce4-screenshooter.html: add the CLI options and the panel
plugin stuff.
* Add the autotools stuff to install the documentation.
2008-12-05 jeromeg
* po/fr.po: update French translation.
* doc/: initial draft of documentation.
* lib/screenshooter-utils.c:
- remove all X code, in particular find_toplevel_window. Instead,
use a combination of gdk_window_get_toplevel and
gdk_window_get_frame_extents. This should fix some remaining
crashes with "BadWindow" error.
- detect the area to screenshot after the delay, rather than before.
* src/main.c: add a comment.
* configure.ac.in: remove x11proto-core build dependency.
* NEWS: updated.
2008-12-03 jeromeg
* lib/screenshooter-dialogs.c: ifdef the tooltips stuff, because it's
only available with gtk 2.12.
* lib/screenshooter-dialogs.c:
- indent the code correctly.
- add some more detailed comments.
- show an error dialog when saving the screenshot failed.
* NEWS: updated.
2008-12-01 jeromeg
* lib/screenshooter-dialogs.c: use a custom button instead of the
stock ok button to be more precise on the action of this button.
2008-12-01 jeromeg
* src/main.c: fix the saving of preferences when no screenshot has
been taken, the code to determine the save location remained in an
incorrect place.
2008-12-01 jeromeg
* src/main.c: check for GTK_RESPONSE_OK instead of something !=
GTK_RESPONSE_CANCEL.
* lib/screenshooter-dialogs.c:
- (set_default_item) set first item as active if no item was found,
change the prototype.
- (screenshooter_dialog_new) use the new set_default_item, don't set
the first item as active without updating sd->app. Fixes the opening
of screenshots with the first item of the combobox.
2008-12-01 jeromeg
* src/main.c: Show the dialog again after taking a screenshot, the
application is exited when the user presses the Cancel Button.
* Make a few strings consistent.
* Update NEWS file.
* xfce4-screenshooter.1: remove preferences CLI option.
* src/main.c:
- remove preferences CLI option , the application can set the
default save folder now.
- fix the rc file mess. Use xfce_resource_lookup and
xfce_resource_save_location so that folders get created if they
don't exist. Thanks to Nick Schermer for helping.
* lib/screenshooter-utils.{c,h}:
- remove the dir_only option in (screenshooter_read_rc_file).
* lib/screenshooter-dialogs.{c,h}:
- remove (screenshooter_preferences_dialog).
* lib/screenshooter-actions.c:
- don't hardcode "/tmp", use g_get_tmp_dir () instead.
* panel-plugin/screenshooter-plugin.c:
- use new syntax for screenshooter_read_rc_file.
* lib/screenshooter-dialogs.c:
- (cb_show_save_dialog_toggled) set show_save_dialog correctly.
- (screenshooter_dialog_new) initiate the checkbox correctly.
* Fix the ChangeLog encoding.
* lib/screenshooter-dialogs.c:
- remove a prototype that was not used.
- (screenshooter_dialog_new):
+ add some tooltips.
+ also show the save box for the application.
+ fix the default state of some widgets as suggested by David
Collins.
* lib/screenshooter-dialogs.c:
- merge the save checkbox and the default save location filechooser
to a single line.
- remove some unused variables.
* panel-plugin/screenshooter-plugin.c: update the tooltips.
* lib/screenshooter-dialogs.c:
- improve the dialog.
- improve some strings.
* lib/screenshooter-dialogs.c:
- set icon size to 16 for the combobox.
- add (cb_save_toggled_sensi) to set to items insensitive
when not toggled. Add callback using this function.
- improve indentation.
- improve the paddings of the layout a little bit.
- put the default save location before the checkbox.
- select the first item of the combobox when creating it.
* CONTRIBUTORS:
- create a contributors list.
- add David Collins.
* lib/screenshooter-utils.c:
- re-add "none" application, fixes the segfault in the plugin
dialog.
* lib/screenshooter-dialogs.c (screenshooter_dialog_new):
- add a "Application:" label.
- Improve the layout.
- the "Default save location" label should not be bold.
2008-11-23 jeromeg
* lib/screenshooter-actions.c: fix Open with mode.
* lib/screenshooter-dialogs.c:
- Start to rewrite the dialog code on the basis of a patch by David
Collins.
- Remove frames.
- Add alignments.
- Add copy to clipboard function.
- The layout still needs to be tweaked.
- The dialog for the plugin crashes at the moment, I'll fix this
later.
Jerome Guelfucci
committed
2008-11-22 jeromeg
* lib/screenshooter-utils.{c,h}: