summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 72a1788)
raw | patch | inline | side by side (parent: 72a1788)
author | joelholdsworth <joelholdsworth@users.sourceforge.net> | |
Sat, 22 Mar 2008 18:23:47 +0000 (18:23 +0000) | ||
committer | joelholdsworth <joelholdsworth@users.sourceforge.net> | |
Sat, 22 Mar 2008 18:23:47 +0000 (18:23 +0000) |
index 637f8ef57fa7afec9469b2c0fea5d47ff26f4723..3443a6ccb58c2d933707799cbb437b7409dc3eb6 100644 (file)
gint transient_policy = prefs_get_int_attribute_limited ( "options.transientpolicy", "value", 1, 0, 2 );
-#ifdef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs
- if (prefs_get_int_attribute ( "options.dialogsontopwin32", "value", 0))
- transient_policy = 2;
- else
- transient_policy = 0;
+#ifdef WIN32 // Win32 special code to enable transient dialogs
+ transient_policy = 2;
#endif
if (transient_policy) {
{
gint transient_policy = prefs_get_int_attribute_limited ( "options.transientpolicy", "value", 1, 0, 2);
-#ifdef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs
- if (prefs_get_int_attribute ( "options.dialogsontopwin32", "value", 0))
- transient_policy = 2;
- else
- return;
+#ifdef WIN32 // Win32 special code to enable transient dialogs
+ transient_policy = 2;
#endif
if (!transient_policy)
index 4f6fe64bc06a58a4960ce9763d4fc996db5343ff..6f3df89da3dcf4dc36a8ae572de2104885f6844e 100644 (file)
{
gint transient_policy = prefs_get_int_attribute_limited ( "options.transientpolicy", "value", 1, 0, 2);
-#ifdef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs
- if (prefs_get_int_attribute ( "options.dialogsontopwin32", "value", 0))
- transient_policy = 2;
- else
- return;
+#ifdef WIN32 // Win32 special code to enable transient dialogs
+ transient_policy = 2;
#endif
if (!transient_policy)
index 7e76b521175de5baca86bd0a8e6bbf33a82d9bb5..f670c64106f9b38b0af7ad93273ba0d6a732ec9f 100644 (file)
{
gint transient_policy = prefs_get_int_attribute_limited ( "options.transientpolicy", "value", 1, 0, 2);
-#ifdef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs
- if (prefs_get_int_attribute ( "options.dialogsontopwin32", "value", 0))
- transient_policy = 2;
- else
- return;
+#ifdef WIN32 // Win32 special code to enable transient dialogs
+ transient_policy = 2;
#endif
if (!transient_policy)
index 7819faf710639184f4d473f232c818bb64b5b631..5c451e00561fb69474975cdd92d5e1187952f088 100644 (file)
_win_ontop_normal.init ( _("Normal"), "options.transientpolicy", "value", 1, true, &_win_ontop_none);
_win_ontop_agressive.init ( _("Aggressive"), "options.transientpolicy", "value", 2, false, &_win_ontop_none);
-// FIXME: Temporary Win32 special code to enable transient dialogs
-#ifdef WIN32
- _win_ontop_win32.init ( _("Dialogs stay on top (experimental!)"), "options.dialogsontopwin32", "value", false);
-#endif
-
_page_windows.add_group_header( _("Saving window geometry (size and position):"));
_page_windows.add_line( false, "", _win_save_geom_off, "",
_("Let the window manager determine placement of all windows"));
_page_windows.add_line( true, "", _win_floating, "",
_("Floating"));
- _page_windows.add_group_header( _("Dialogs on top:"));
-#ifndef WIN32 // FIXME: Temporary Win32 special code to enable transient dialogs
+#ifndef WIN32 // non-Win32 special code to enable transient dialogs
+ _page_windows.add_group_header( _("Dialogs on top:"));
+
_page_windows.add_line( true, "", _win_ontop_none, "",
_("Dialogs are treated as regular windows"));
_page_windows.add_line( true, "", _win_ontop_normal, "",
_("Dialogs stay on top of document windows"));
_page_windows.add_line( true, "", _win_ontop_agressive, "",
_("Same as Normal but may work better with some window managers"));
-#else
- _page_windows.add_line( false, "", _win_ontop_win32, "",
- _("Whether dialogs should stay on top of document windows. Read the ReleaseNotes on this issue! (Rightclick the taskbar button and press 'Restore' to bring back a minimized document window)"));
#endif
_page_windows.add_group_header( _("Miscellaneous:"));
index 08dbcedf93266a2c7b27a3906171ab7c23c3d456..38ff1fa31587d685548f4435ee54c91b017727a8 100644 (file)
PrefRadioButton _win_save_geom_off, _win_save_geom, _win_save_geom_prefs;
PrefCheckButton _win_hide_task, _win_zoom_resize , _win_show_close;
-// FIXME: Temporary Win32 special code to enable transient dialogs
-#ifdef WIN32
- PrefCheckButton _win_ontop_win32;
-#endif
-
PrefCheckButton _calligrapy_use_abs_size;
PrefCheckButton _calligrapy_keep_selected;