After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 138821 - Patch to store window size on quit
Patch to store window size on quit
Status: RESOLVED DUPLICATE of bug 137511
Product: gpdf
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Martin Kretzschmar
Martin Kretzschmar
Depends on:
Blocks:
 
 
Reported: 2004-04-02 04:50 UTC by Kevin Duffus
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
Patch file for window size saving (1.39 KB, patch)
2004-04-02 04:52 UTC, Kevin Duffus
none Details | Review

Description Kevin Duffus 2004-04-02 04:50:41 UTC
The attached patch causes the window size to be save in gconf when gpdf quits
and reloaded when a new instance of gpdf starts. Hope the patch file was done
correctly, i'm not a "diff" expert ;). cheers
Comment 1 Kevin Duffus 2004-04-02 04:52:49 UTC
Created attachment 26229 [details] [review]
Patch file for window size saving
Comment 2 Kevin Duffus 2004-04-02 04:55:44 UTC
oops. prefs-strings.h now includes:

#define CONF_WINDOWS_DEFAULT_HEIGHT "/apps/gpdf/UI/Windows/default_height"
#define CONF_WINDOWS_DEFAULT_WIDTH "/apps/gpdf/UI/Windows/default_width"
Comment 3 Kjartan Maraas 2004-04-18 23:04:30 UTC
I think this is the WMs responsibility...
Comment 4 Vincent Noel 2004-08-09 20:25:06 UTC

*** This bug has been marked as a duplicate of 137511 ***