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.
Showing
- ChangeLog 12 additions, 0 deletionsChangeLog
- lib/screenshooter-actions.c 9 additions, 52 deletionslib/screenshooter-actions.c
- lib/screenshooter-global.h 2 additions, 0 deletionslib/screenshooter-global.h
- panel-plugin/screenshooter-plugin.c 4 additions, 3 deletionspanel-plugin/screenshooter-plugin.c
- src/main.c 43 additions, 2 deletionssrc/main.c
Loading
Please register or sign in to comment