summaryrefslogtreecommitdiffstats
path: root/src/inkscape-window.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-22Properly update document view when closing, then opening a new filePatrick Storz1-14/+28
We call "change_document()" in this case, which only switches the document without creating a new window and consequently did not do any of the required set-up This ensures window size/position and other preferences stored in <namedview> are properly applied.
2019-08-16fix #385 inbox#765 macOS acceleratorsThomas Holder1-1/+14
- re-fix Cmd-Q confirmation dialog (#383) without the numbers typing regression (#385) - re-fix Alt modifiers (inbox#765) - fix Cmd-A select all text (inbox#765)
2019-05-26Fix blank toolbar on startup with custom dimensionsNathan Lee1-0/+2
Bug occurs with programmatic resize at startup Fixes https://gitlab.com/inkscape/inkscape/issues/125
2019-03-15Make InkscapeApplication responsible for managing documents and windows.Tavmjong Bah1-1/+6
Any change from previous behavior is a bug.
2019-02-20Fix query for monitor dimensionsPatrick Storz1-2/+6
The call to Gdk::Display::get_monitor_at_window() in Inkscape::UI::get_monitor_geometry_at_window() requires the underlying GdkWindow to be fully initialized. This is achieved by calling "realize()" before attempting to read that information. Previously we used to show the window first (which implies realizing it) which worked around the issue. However it required us to hide and show it once again later if we wanted to move it in order for the window manager's routines to sanitize the position to kick in.
2019-02-20Rescue code for restoring last used window geometryPatrick Storz1-2/+5
It was accidentally dropped in 8b1840f9507f10911f63fc00b9885354ead99d53 Also show window *after* setting position/size. This gives the window manager the chance to move an off-screen window back into the visible desktop bounds (e.g. after a monitor was disconnected).
2019-02-15Code simplification using InkscapeApplication singleton.Tavmjong Bah1-11/+3
2019-02-15Turn InkscapeApplication into singleton.Tavmjong Bah1-0/+3
2019-02-12Block in window updating code. WIPTavmjong Bah1-0/+1
2019-02-12Change prefix on drag and drop functions.Tavmjong Bah1-1/+1
2019-02-03Correct comments due to last commit.Tavmjong Bah1-1/+1
2019-02-03Change from hooking up signal handler to overriding class method.Tavmjong Bah1-2/+6
2019-02-03Fix widget focus bug.Tavmjong Bah1-1/+1
2019-01-30Allow InkscapeApplication to track current document, selection, and desktop.Tavmjong Bah1-4/+32
2019-01-28Temporary fix for crash on quit.Tavmjong Bah1-4/+4
2019-01-25Rewrite main menu bar code:Tavmjong Bah1-1/+3
Convert to GTKMM. General cleanup. Move to dedicated files.
2019-01-22Move main menu bar from desktop-widget to inkscape-window.Tavmjong Bah1-4/+10
2019-01-20More clean-up of code copied from sp_create_window().Tavmjong Bah1-32/+6
2019-01-20No longer use widget data to store pointer to window.Tavmjong Bah1-3/+1
2019-01-20 No longer use widget data to store pointer to desktop.Tavmjong Bah1-2/+0
2019-01-20No longer use widget data to store pointer to desktop widget.Tavmjong Bah1-1/+0
2019-01-20Use document rather than namedview in creating desktop widget.Tavmjong Bah1-1/+1
2019-01-19Get rid of unneccessary type conversions (SPDesktopWidget <-> SPViewWidget).Tavmjong Bah1-2/+1
2019-01-19Remove sp_create_window().Tavmjong Bah1-12/+75
2019-01-19Move drag-and-drop code to separate file.Tavmjong Bah1-0/+5
2019-01-16Make InkscapeWindow responsible for adding window to app.Tavmjong Bah1-0/+14
Prevents premature program termination if original window deleted.
2019-01-13Another baby step in creating InkscapeWindow.Tavmjong Bah1-2/+15
2019-01-10Prevent window from stealing key presses.Tavmjong Bah1-1/+1
2019-01-09First baby step in adding InkscapeWindow (Gtk::ApplicationWindow)Tavmjong Bah1-5/+16
2018-11-08Clarify licensesMax Gaukler1-2/+10
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-11-04Rewrite of inkview using InkApplication (Gtk::Application).Tavmjong Bah1-0/+28
Use Gio::File for accessing files. Use Gio options to handle command line arguments. Use Gio::Action's. Use Gtk::Builder for control window. Only create SPDocument when requested for display and then cache it (should speed up start-up).