projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix 1894723: export the Index parameter of all Duplicate layers when copy/pasting...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
dialogsettings.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/dialogsettings.cpp
b/synfig-studio/trunk/src/gtkmm/dialogsettings.cpp
index
e325dd9
..
7f38a83
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/dialogsettings.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/dialogsettings.cpp
@@
-6,6
+6,7
@@
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007, 2008 Chris Moore
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
@@
-69,14
+70,14
@@
DialogSettings::get_value(const synfig::String& key, synfig::String& value)const
{
if(key=="pos")
{
{
if(key=="pos")
{
- if(!window->is_visible())return false;
+
//
if(!window->is_visible())return false;
int x,y; window->get_position(x,y);
value=strprintf("%d %d",x,y);
return true;
}
if(key=="size")
{
int x,y; window->get_position(x,y);
value=strprintf("%d %d",x,y);
return true;
}
if(key=="size")
{
- if(!window->is_visible())return false;
+
//
if(!window->is_visible())return false;
int x,y; window->get_size(x,y);
value=strprintf("%d %d",x,y);
return true;
int x,y; window->get_size(x,y);
value=strprintf("%d %d",x,y);
return true;