Feature added: Allow user to change the persistence location
This commit is contained in:
@@ -185,6 +185,11 @@
|
||||
SubType = "Code"
|
||||
BuildAction = "Compile"
|
||||
/>
|
||||
<File
|
||||
RelPath = "DbgFileChooser.cs"
|
||||
SubType = "Code"
|
||||
BuildAction = "Compile"
|
||||
/>
|
||||
<File
|
||||
RelPath = "ExportSecrets.cs"
|
||||
SubType = "Code"
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace Novell.CASA.GUI
|
||||
dialogAbout,
|
||||
dialogLogin,
|
||||
dialogLoginContinue,
|
||||
dialogDesktopPassword,
|
||||
dialogDesktopPassword,
|
||||
dialogConfirmRefresh,
|
||||
dialogSingleInstance,
|
||||
dialogLoginReprompt,
|
||||
@@ -92,7 +92,8 @@ namespace Novell.CASA.GUI
|
||||
entryOldMP,
|
||||
entryNewMP1,
|
||||
entryNewMP2,
|
||||
entryFirefoxMP;
|
||||
entryFirefoxMP,
|
||||
entryStorageDirectory;
|
||||
|
||||
|
||||
[Glade.Widget]
|
||||
@@ -107,10 +108,11 @@ namespace Novell.CASA.GUI
|
||||
Gtk.Label label88,
|
||||
labelLoginContinue1,
|
||||
labelLoginContinue2,
|
||||
labelDesktopPasswordMessage;
|
||||
labelDesktopPasswordMessage;
|
||||
|
||||
[Glade.Widget]
|
||||
Gtk.Button okbuttonPersistentStorage;
|
||||
Gtk.Button okbuttonPersistentStorage,
|
||||
buttonChooseDirectory;
|
||||
|
||||
[Glade.Widget]
|
||||
Gtk.MenuItem mmiNew,
|
||||
@@ -527,7 +529,7 @@ namespace Novell.CASA.GUI
|
||||
|
||||
private bool DeleteMiCasaFiles()
|
||||
{
|
||||
string[] faFiles = Directory.GetFiles(Common.GetUserHomeDir(), ".miCASA*");
|
||||
string[] faFiles = Directory.GetFiles(Common.GetUserPersistentDir(config), ".miCASA*");
|
||||
bool bDeletedFiles = true;
|
||||
|
||||
for (int i=0; i<faFiles.Length; i++)
|
||||
@@ -701,7 +703,7 @@ namespace Novell.CASA.GUI
|
||||
Logger.DbgLog("GUI:CasaMain.IsMasterPasswordSet() - BEGIN");
|
||||
|
||||
string MICASA_PASSCODE_BY_MASTER_PASSWD_FILE = "/.miCASAPCByMPasswd";
|
||||
string fileName = Common.GetUserHomeDir() + MICASA_PASSCODE_BY_MASTER_PASSWD_FILE;
|
||||
string fileName = Common.GetUserPersistentDir(config) + MICASA_PASSCODE_BY_MASTER_PASSWD_FILE;
|
||||
|
||||
Logger.DbgLog("GUI:CasaMain.IsMasterPasswordSet() - END");
|
||||
return (File.Exists(fileName));
|
||||
@@ -723,7 +725,7 @@ namespace Novell.CASA.GUI
|
||||
catch
|
||||
{
|
||||
// check for existence of persistent files
|
||||
string sHomeDir = Common.GetUserHomeDir();
|
||||
string sHomeDir = Common.GetUserPersistentDir(config);
|
||||
|
||||
Logger.DbgLog("GUI:CasaMain.DoesPersistentFilesExist() - END");
|
||||
return (File.Exists(sHomeDir + Common.MICASA_PERSISTENCE_FILE)
|
||||
@@ -1655,6 +1657,11 @@ namespace Novell.CASA.GUI
|
||||
checkbuttonKdeWallet.Sensitive = false;
|
||||
checkbuttonKdeWallet.Visible = false;
|
||||
}
|
||||
|
||||
if (entryStorageDirectory != null)
|
||||
{
|
||||
entryStorageDirectory.Text = Common.GetUserPersistentDir(config);
|
||||
}
|
||||
|
||||
Logger.DbgLog("GUI:CasaMain.Preferences() - END");
|
||||
}
|
||||
@@ -1776,6 +1783,24 @@ namespace Novell.CASA.GUI
|
||||
StorePolicyInterface.SetAggregationPolicy(Common.STORE_GNOMEKEYRING, false, storeID, 1);
|
||||
}
|
||||
StorePolicyInterface.SaveAggregationPolicy();
|
||||
|
||||
// update perisentent location
|
||||
// move .miCASA files
|
||||
string sNewDir = entryStorageDirectory.Text;
|
||||
string sOldDir = Common.GetUserPersistentDir(config);
|
||||
try
|
||||
{
|
||||
if (MoveMiCASAFiles(sOldDir, sNewDir))
|
||||
{
|
||||
// save off selected directory
|
||||
Common.SetUserPersistentDir(config, sNewDir);
|
||||
CommonGUI.DisplayMessage(Gtk.MessageType.Info, "Files moved from\r\n" + sOldDir + "\r\nto\r\n" + sNewDir);
|
||||
}
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
CommonGUI.DisplayMessage(Gtk.MessageType.Warning, "Error occurred while moving files.\r\n" + e.ToString());
|
||||
}
|
||||
|
||||
Logger.DbgLog("GUI:CasaMain.okbuttonPreferences_clicked() - END");
|
||||
}
|
||||
@@ -2081,6 +2106,11 @@ namespace Novell.CASA.GUI
|
||||
windowMain.Destroy();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ********************************************************************
|
||||
/// Import/export handlers
|
||||
/// ********************************************************************
|
||||
/// </summary>
|
||||
|
||||
public void on_exportSecrets_activate(object obj, EventArgs args)
|
||||
{
|
||||
@@ -2099,6 +2129,61 @@ namespace Novell.CASA.GUI
|
||||
}
|
||||
|
||||
|
||||
public void on_buttonChooseDirectory_clicked(object obj, EventArgs args)
|
||||
{
|
||||
//Choose directory for persistent storage
|
||||
FileChooser fc = new FileChooser(FileChooser.ACTION_CHOOSE_DIR);
|
||||
string sDirectory = fc.GetFile(entryStorageDirectory.Text, null);
|
||||
|
||||
// show the user the directory choosen
|
||||
if (sDirectory != null)
|
||||
{
|
||||
if (Directory.Exists(sDirectory))
|
||||
{
|
||||
entryStorageDirectory.Text = sDirectory;
|
||||
}
|
||||
else
|
||||
{
|
||||
CommonGUI.DisplayMessage(Gtk.MessageType.Error, "Directory does not exist\r\n" + sDirectory);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private bool MoveMiCASAFiles(string sOldDirectory, string sNewDirectory)
|
||||
{
|
||||
if ((sOldDirectory != null) && (sNewDirectory != null))
|
||||
{
|
||||
if (!sOldDirectory.Equals(sNewDirectory))
|
||||
{
|
||||
// get file list for .miCASAFiles
|
||||
string[] files = Directory.GetFiles(sOldDirectory, ".miCASA*");
|
||||
if (files != null)
|
||||
{
|
||||
// first copy them to the new location
|
||||
foreach ( string file in files)
|
||||
{
|
||||
string sFileName = file.Substring(file.LastIndexOf("\\") + 1);
|
||||
File.Copy(file, sNewDirectory + sFileName, true);
|
||||
}
|
||||
|
||||
// TODO: tell our daemon/service we changed the location
|
||||
ChangePersistentDir cpd = new ChangePersistentDir(sOldDirectory, sNewDirectory);
|
||||
cpd = (ChangePersistentDir)MiCasaRequestReply.Send(MiCasaRequestReply.VERB_CHANGE_PERSIST_DIR, cpd);
|
||||
|
||||
// now delete them from the old directory
|
||||
foreach (string file in files)
|
||||
{
|
||||
File.Delete(file);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ********************************************************************
|
||||
/// private void HandleQuit()
|
||||
@@ -2153,7 +2238,12 @@ namespace Novell.CASA.GUI
|
||||
|
||||
Logger.DbgLog("GUI:CasaMain.OnWindowMainDeleted() - END");
|
||||
}
|
||||
|
||||
|
||||
public void on_debug_file_chooser_activate(object obj, EventArgs args)
|
||||
{
|
||||
DbgFileChooser dbf = new DbgFileChooser();
|
||||
dbf.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -138,8 +138,11 @@ public class Common
|
||||
public static string ARG_SHOW_TRAY_ICON = "-tray";
|
||||
public static string ARG_DEBUG = "-debug";
|
||||
|
||||
// config settings
|
||||
public static string CONFIG_RUN_IN_TRAY = "RunInTray";
|
||||
public static string DISPLAY_CASA_MANAGER = "DisplayCasaManagerOnClick";
|
||||
public static string CONFIG_PERSISTENT_DIRECTORY = "PersistentDirectory";
|
||||
|
||||
|
||||
|
||||
///#############################################################
|
||||
@@ -439,6 +442,16 @@ public class Common
|
||||
return Environment.GetEnvironmentVariable("USERPROFILE");
|
||||
}
|
||||
|
||||
internal static string GetUserPersistentDir(Config config)
|
||||
{
|
||||
return (config.GetConfigSetting(CONFIG_PERSISTENT_DIRECTORY, GetUserHomeDir()));
|
||||
}
|
||||
|
||||
internal static void SetUserPersistentDir(Config config, string sNewDirectory)
|
||||
{
|
||||
config.SetConfigSetting(CONFIG_PERSISTENT_DIRECTORY, sNewDirectory);
|
||||
config.WriteConfig();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
78
CASA/gui/DbgFileChooser.cs
Normal file
78
CASA/gui/DbgFileChooser.cs
Normal file
@@ -0,0 +1,78 @@
|
||||
using System;
|
||||
|
||||
namespace Novell.CASA.GUI
|
||||
{
|
||||
/// <summary>
|
||||
/// Summary description for DbgFileChooser.
|
||||
/// </summary>
|
||||
public class DbgFileChooser
|
||||
{
|
||||
#region widgets
|
||||
[Glade.Widget]
|
||||
Gtk.Dialog dialogDebugFileChooser;
|
||||
|
||||
[Glade.Widget]
|
||||
Gtk.Entry entrySaveFile,
|
||||
entryOpenFile,
|
||||
entryChooseDirectory;
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
public DbgFileChooser()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Run()
|
||||
{
|
||||
Glade.XML gxmlTemp = new Glade.XML (Common.GladeFile, "dialogDebugFileChooser", null);
|
||||
gxmlTemp.Autoconnect (this);
|
||||
//dialogDebugFileChooser.TransientFor = windowMain;
|
||||
}
|
||||
|
||||
public void on_buttonSaveFile_clicked(object obj, EventArgs args)
|
||||
{
|
||||
FileChooser fc = new FileChooser(FileChooser.ACTION_SAVE);
|
||||
string sFile = fc.GetFile(null, null);
|
||||
if (sFile != null)
|
||||
{
|
||||
entrySaveFile.Text = sFile;
|
||||
}
|
||||
else
|
||||
{
|
||||
entrySaveFile.Text = "Null";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void on_buttonOpenFile_clicked(object obj, EventArgs args)
|
||||
{
|
||||
FileChooser fc = new FileChooser(FileChooser.ACTION_OPEN);
|
||||
string sFile = fc.GetFile(null, null);
|
||||
if (sFile != null)
|
||||
{
|
||||
entryOpenFile.Text = sFile;
|
||||
}
|
||||
else
|
||||
{
|
||||
entryOpenFile.Text = "Null";
|
||||
}
|
||||
}
|
||||
public void on_buttonChooseDirectory_clicked(object obj, EventArgs args)
|
||||
{
|
||||
FileChooser fc = new FileChooser(FileChooser.ACTION_CHOOSE_DIR);
|
||||
string sFile = fc.GetFile(null, null);
|
||||
if (sFile != null)
|
||||
{
|
||||
entryChooseDirectory.Text = sFile;
|
||||
}
|
||||
else
|
||||
{
|
||||
entryChooseDirectory.Text = "Null";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -25,6 +25,7 @@ namespace Novell.CASA.GUI
|
||||
private int m_iAction = 1;
|
||||
public const int ACTION_OPEN = 1;
|
||||
public const int ACTION_SAVE = 2;
|
||||
public const int ACTION_CHOOSE_DIR = 3;
|
||||
|
||||
Thread tChooserThread = null;
|
||||
|
||||
@@ -72,6 +73,8 @@ namespace Novell.CASA.GUI
|
||||
else
|
||||
m_currentDirectory = dir;
|
||||
|
||||
if (!m_currentDirectory.EndsWith(m_pathSeparator))
|
||||
m_currentDirectory = m_currentDirectory + m_pathSeparator;
|
||||
|
||||
//if (m_currentDirectory.EndsWith(m_pathSeparator))
|
||||
// m_currentDirectory = m_currentDirectory.Substring(0, m_currentDirectory.Length - 1);
|
||||
@@ -92,16 +95,18 @@ namespace Novell.CASA.GUI
|
||||
m_hintFile = sHintFile;
|
||||
}
|
||||
|
||||
DoWork();
|
||||
DisplayChooser();
|
||||
|
||||
if (m_sFileSelected != null)
|
||||
return m_currentDirectory + m_pathSeparator + m_sFileSelected;
|
||||
{
|
||||
return m_currentDirectory + m_sFileSelected;
|
||||
}
|
||||
else
|
||||
return null;
|
||||
|
||||
}
|
||||
|
||||
private void DoWork()
|
||||
private void DisplayChooser()
|
||||
{
|
||||
|
||||
// display chooser
|
||||
@@ -140,7 +145,13 @@ namespace Novell.CASA.GUI
|
||||
Glade.XML gxmlTemp = new Glade.XML(Common.GladeFile, "dialogFileChooser", null);
|
||||
gxmlTemp.Autoconnect(this);
|
||||
|
||||
if (m_iAction == ACTION_OPEN)
|
||||
if (m_iAction == ACTION_CHOOSE_DIR)
|
||||
{
|
||||
entrySelectedFile.Visible = false;
|
||||
dialogFileChooser.Title = "Select a directory";
|
||||
|
||||
}
|
||||
else if (m_iAction == ACTION_OPEN)
|
||||
{
|
||||
buttonNewFolder.Visible = false;
|
||||
entrySelectedFile.Sensitive = false;
|
||||
@@ -208,11 +219,14 @@ namespace Novell.CASA.GUI
|
||||
ts.AppendValues(new Gdk.Pixbuf (Common.IMAGE_PATH + "folder.png"), dirs[i].Name, "", "File folder");
|
||||
}
|
||||
|
||||
FileInfo[] files = dirInfo.GetFiles();
|
||||
for (int i=0; i<files.Length; i++)
|
||||
{
|
||||
ts.AppendValues(new Gdk.Pixbuf (Common.IMAGE_PATH + "CASA_16.png"), files[i].Name, (files[i].Length/1000).ToString() + " KB", files[i].LastWriteTime.ToShortDateString() + " " + files[i].LastWriteTime.ToShortTimeString());
|
||||
}
|
||||
if (m_iAction < FileChooser.ACTION_CHOOSE_DIR)
|
||||
{
|
||||
FileInfo[] files = dirInfo.GetFiles();
|
||||
for (int i=0; i<files.Length; i++)
|
||||
{
|
||||
ts.AppendValues(new Gdk.Pixbuf (Common.IMAGE_PATH + "CASA_16.png"), files[i].Name, (files[i].Length/1000).ToString() + " KB", files[i].LastWriteTime.ToShortDateString() + " " + files[i].LastWriteTime.ToShortTimeString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private int GetItemCount(string sDir)
|
||||
@@ -235,8 +249,8 @@ namespace Novell.CASA.GUI
|
||||
string selected;
|
||||
|
||||
// trim any trailing \
|
||||
if (m_currentDirectory.EndsWith(m_pathSeparator))
|
||||
m_currentDirectory = m_currentDirectory.Substring(0, m_currentDirectory.Length - 1);
|
||||
//if (m_currentDirectory.EndsWith(m_pathSeparator))
|
||||
// m_currentDirectory = m_currentDirectory.Substring(0, m_currentDirectory.Length - 1);
|
||||
|
||||
|
||||
try
|
||||
@@ -245,8 +259,8 @@ namespace Novell.CASA.GUI
|
||||
{
|
||||
//selected = (string) model.GetValue(iter, 1);
|
||||
selected = entrySelectedFile.Text;
|
||||
|
||||
if (Directory.Exists(m_currentDirectory + m_pathSeparator + selected))
|
||||
|
||||
if (Directory.Exists(m_currentDirectory + selected))
|
||||
{
|
||||
// if we are at root
|
||||
if (m_currentDirectory.Equals("/"))
|
||||
@@ -255,11 +269,12 @@ namespace Novell.CASA.GUI
|
||||
}
|
||||
else
|
||||
{
|
||||
SetCurrentDirectory(m_currentDirectory + m_pathSeparator + selected);
|
||||
SetCurrentDirectory(m_currentDirectory + selected);
|
||||
}
|
||||
|
||||
// clear current view
|
||||
ts.Clear();
|
||||
entrySelectedFile.Text = "";
|
||||
DisplayFileListing();
|
||||
}
|
||||
else
|
||||
@@ -306,7 +321,22 @@ namespace Novell.CASA.GUI
|
||||
|
||||
public void on_btnOkFileChooser_clicked(object obj, EventArgs args)
|
||||
{
|
||||
ProcessSelection();
|
||||
if (m_iAction == ACTION_CHOOSE_DIR)
|
||||
{
|
||||
// set directory selected
|
||||
if ((entrySelectedFile.Text != null) && (entrySelectedFile.Text.Length > 0))
|
||||
m_sFileSelected = entrySelectedFile.Text + m_pathSeparator;
|
||||
else
|
||||
m_sFileSelected = "";
|
||||
|
||||
// destroy dialog
|
||||
dialogFileChooser.Destroy();
|
||||
m_bFileChoosing = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
ProcessSelection();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
<property name="use_underline">True</property>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3935">
|
||||
<widget class="GtkImage" id="image3986">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-new</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -78,7 +78,7 @@
|
||||
<signal name="activate" handler="OnNewSecretActivated" last_modification_time="Tue, 27 Sep 2005 06:02:26 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3936">
|
||||
<widget class="GtkImage" id="image3987">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-new</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -99,7 +99,7 @@
|
||||
<signal name="activate" handler="OnNewKeyActivated" last_modification_time="Tue, 27 Sep 2005 06:02:36 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3937">
|
||||
<widget class="GtkImage" id="image3988">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-new</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -125,7 +125,7 @@
|
||||
<accelerator key="F5" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3938">
|
||||
<widget class="GtkImage" id="image3989">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-refresh</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -152,7 +152,7 @@
|
||||
<signal name="activate" handler="OnLockMiCASASecrets" last_modification_time="Mon, 10 Oct 2005 19:51:54 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3939">
|
||||
<widget class="GtkImage" id="image3990">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-dialog-authentication</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -173,7 +173,7 @@
|
||||
<signal name="activate" handler="OnUnLockMiCASASecrets" last_modification_time="Tue, 11 Oct 2005 20:12:35 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3940">
|
||||
<widget class="GtkImage" id="image3991">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-open</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -194,7 +194,7 @@
|
||||
<signal name="activate" handler="OnDestroyMiCASASecrets" last_modification_time="Tue, 11 Oct 2005 20:12:35 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3941">
|
||||
<widget class="GtkImage" id="image3992">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-delete</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -221,7 +221,7 @@
|
||||
<signal name="activate" handler="on_exportSecrets_activate" last_modification_time="Mon, 07 Aug 2006 19:38:42 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3942">
|
||||
<widget class="GtkImage" id="image3993">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-floppy</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -242,7 +242,7 @@
|
||||
<signal name="activate" handler="on_importSecrets_activate" last_modification_time="Mon, 07 Aug 2006 19:38:42 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3943">
|
||||
<widget class="GtkImage" id="image3994">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-open</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -270,7 +270,7 @@
|
||||
<accelerator key="Q" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3944">
|
||||
<widget class="GtkImage" id="image3995">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-quit</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -306,7 +306,7 @@
|
||||
<accelerator key="F2" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3945">
|
||||
<widget class="GtkImage" id="image3996">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-zoom-fit</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -327,7 +327,7 @@
|
||||
<signal name="activate" handler="LinkKeyValue" last_modification_time="Fri, 19 Aug 2005 06:23:15 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3946">
|
||||
<widget class="GtkImage" id="image3997">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-jump-to</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -348,7 +348,7 @@
|
||||
<signal name="activate" handler="CopyKeyValue" last_modification_time="Fri, 19 Aug 2005 06:23:15 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3947">
|
||||
<widget class="GtkImage" id="image3998">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-copy</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -376,7 +376,7 @@
|
||||
<accelerator key="Delete" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3948">
|
||||
<widget class="GtkImage" id="image3999">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-delete</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -410,7 +410,7 @@
|
||||
<property name="use_underline">True</property>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3949">
|
||||
<widget class="GtkImage" id="image4000">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-execute</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -432,7 +432,7 @@
|
||||
<signal name="activate" handler="on_konquerer_activate" last_modification_time="Thu, 02 Mar 2006 07:08:06 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3950">
|
||||
<widget class="GtkImage" id="image4001">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-execute</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -453,7 +453,7 @@
|
||||
<signal name="activate" handler="on_kopete_activate" last_modification_time="Thu, 02 Mar 2006 07:08:44 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3951">
|
||||
<widget class="GtkImage" id="image4002">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-execute</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -474,7 +474,7 @@
|
||||
<signal name="activate" handler="on_networkmanager_activate" last_modification_time="Thu, 02 Mar 2006 07:07:54 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3952">
|
||||
<widget class="GtkImage" id="image4003">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-execute</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -495,7 +495,7 @@
|
||||
<signal name="activate" handler="on_gaim_activate" last_modification_time="Thu, 02 Mar 2006 07:07:29 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3953">
|
||||
<widget class="GtkImage" id="image4004">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-execute</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -520,7 +520,7 @@
|
||||
<signal name="activate" handler="ResetMasterPassword" last_modification_time="Wed, 02 Nov 2005 15:28:00 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3954">
|
||||
<widget class="GtkImage" id="image4005">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-revert-to-saved</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -547,7 +547,7 @@
|
||||
<signal name="activate" handler="Preferences" last_modification_time="Fri, 19 Aug 2005 06:40:17 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3955">
|
||||
<widget class="GtkImage" id="image4006">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-preferences</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -581,7 +581,7 @@
|
||||
<signal name="activate" handler="on_create_sample_secrets1_activate" last_modification_time="Fri, 30 Sep 2005 12:58:41 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3956">
|
||||
<widget class="GtkImage" id="image4007">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-add</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -602,7 +602,7 @@
|
||||
<signal name="activate" handler="on_remove_test_secrets1_activate" last_modification_time="Fri, 30 Sep 2005 12:59:05 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3957">
|
||||
<widget class="GtkImage" id="image4008">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-remove</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -621,6 +621,21 @@
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkMenuItem" id="debug_file_chooser">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Debug File Chooser</property>
|
||||
<property name="use_underline">True</property>
|
||||
<signal name="activate" handler="on_debug_file_chooser_activate" last_modification_time="Tue, 29 Aug 2006 15:54:42 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkSeparatorMenuItem" id="separator8">
|
||||
<property name="visible">True</property>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkCheckMenuItem" id="enable_logging1">
|
||||
<property name="visible">True</property>
|
||||
@@ -653,7 +668,7 @@
|
||||
<accelerator key="F1" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3958">
|
||||
<widget class="GtkImage" id="image4009">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-help</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -680,7 +695,7 @@
|
||||
<signal name="activate" handler="About" last_modification_time="Thu, 01 Sep 2005 15:30:28 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image3959">
|
||||
<widget class="GtkImage" id="image4010">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-dialog-info</property>
|
||||
<property name="icon_size">1</property>
|
||||
@@ -4729,7 +4744,140 @@ prompted for the Master Password at startup.</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkFrame" id="frame32">
|
||||
<property name="border_width">6</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="label_xalign">0</property>
|
||||
<property name="label_yalign">0.5</property>
|
||||
<property name="shadow_type">GTK_SHADOW_IN</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkAlignment" id="alignment47">
|
||||
<property name="visible">True</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xscale">1</property>
|
||||
<property name="yscale">1</property>
|
||||
<property name="top_padding">0</property>
|
||||
<property name="bottom_padding">0</property>
|
||||
<property name="left_padding">12</property>
|
||||
<property name="right_padding">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox159">
|
||||
<property name="border_width">4</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox92">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox93">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="entryStorageDirectory">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">3</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="buttonChooseDirectory">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">False</property>
|
||||
<signal name="clicked" handler="on_buttonChooseDirectory_clicked" last_modification_time="Mon, 28 Aug 2006 20:08:37 GMT"/>
|
||||
|
||||
<child>
|
||||
<widget class="GtkImage" id="image3960">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-find</property>
|
||||
<property name="icon_size">4</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label273">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"><b> miCASA Storage Location </b></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="type">label_item</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
@@ -4858,7 +5006,7 @@ prompted for the Master Password at startup.</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
@@ -12999,4 +13147,449 @@ to encrypt this file</property>
|
||||
</child>
|
||||
</widget>
|
||||
|
||||
<widget class="GtkDialog" id="dialogDebugFileChooser">
|
||||
<property name="visible">True</property>
|
||||
<property name="title" translatable="yes">CASA - Debug File chooser</property>
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_CENTER_ON_PARENT</property>
|
||||
<property name="modal">True</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">True</property>
|
||||
<property name="icon">CASAicons.ico</property>
|
||||
<property name="decorated">True</property>
|
||||
<property name="skip_taskbar_hint">False</property>
|
||||
<property name="skip_pager_hint">False</property>
|
||||
<property name="type_hint">GDK_WINDOW_TYPE_HINT_DIALOG</property>
|
||||
<property name="gravity">GDK_GRAVITY_NORTH_WEST</property>
|
||||
<property name="focus_on_map">True</property>
|
||||
<property name="urgency_hint">False</property>
|
||||
<property name="has_separator">True</property>
|
||||
|
||||
<child internal-child="vbox">
|
||||
<widget class="GtkVBox" id="vbox160">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child internal-child="action_area">
|
||||
<widget class="GtkHButtonBox" id="hbuttonbox25">
|
||||
<property name="visible">True</property>
|
||||
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="button66">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label">gtk-help</property>
|
||||
<property name="use_stock">True</property>
|
||||
<property name="relief">GTK_RELIEF_NONE</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<property name="response_id">-11</property>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="button67">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label">gtk-close</property>
|
||||
<property name="use_stock">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<property name="response_id">-7</property>
|
||||
</widget>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="button68">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label">gtk-ok</property>
|
||||
<property name="use_stock">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<property name="response_id">-5</property>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="pack_type">GTK_PACK_END</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox161">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox94">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox162">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkImage" id="image3961">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-dialog-authentication</property>
|
||||
<property name="icon_size">6</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">4</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">4</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkVBox" id="vbox163">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label274">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes"><b>Debug file Chooser</b></property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">True</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">4</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label275">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">This will be removed</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">4</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkFrame" id="frame33">
|
||||
<property name="border_width">6</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="label_xalign">0</property>
|
||||
<property name="label_yalign">0.5</property>
|
||||
<property name="shadow_type">GTK_SHADOW_IN</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkAlignment" id="alignment48">
|
||||
<property name="visible">True</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xscale">1</property>
|
||||
<property name="yscale">1</property>
|
||||
<property name="top_padding">0</property>
|
||||
<property name="bottom_padding">0</property>
|
||||
<property name="left_padding">12</property>
|
||||
<property name="right_padding">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTable" id="table33">
|
||||
<property name="visible">True</property>
|
||||
<property name="n_rows">3</property>
|
||||
<property name="n_columns">3</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="row_spacing">0</property>
|
||||
<property name="column_spacing">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label276">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Save File</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="bottom_attach">1</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label277">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Open File</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="bottom_attach">2</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label278">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Choose Directory</property>
|
||||
<property name="use_underline">False</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
<property name="ellipsize">PANGO_ELLIPSIZE_NONE</property>
|
||||
<property name="width_chars">-1</property>
|
||||
<property name="single_line_mode">False</property>
|
||||
<property name="angle">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">0</property>
|
||||
<property name="right_attach">1</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="entrySaveFile">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="bottom_attach">1</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="entryOpenFile">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="bottom_attach">2</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkEntry" id="entryChooseDirectory">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="editable">True</property>
|
||||
<property name="visibility">True</property>
|
||||
<property name="max_length">0</property>
|
||||
<property name="text" translatable="yes"></property>
|
||||
<property name="has_frame">True</property>
|
||||
<property name="invisible_char">*</property>
|
||||
<property name="activates_default">False</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
<property name="right_attach">2</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="buttonSaveFile">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">Save As...</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="clicked" handler="on_buttonSaveFile_clicked" last_modification_time="Tue, 29 Aug 2006 15:53:20 GMT"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">3</property>
|
||||
<property name="top_attach">0</property>
|
||||
<property name="bottom_attach">1</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="buttonOpenFile">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">Open file</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="clicked" handler="on_buttonOpenFile_clicked" last_modification_time="Tue, 29 Aug 2006 15:53:35 GMT"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">3</property>
|
||||
<property name="top_attach">1</property>
|
||||
<property name="bottom_attach">2</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="buttonChooseDirectory">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="label" translatable="yes">Choose Dir</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="relief">GTK_RELIEF_NORMAL</property>
|
||||
<property name="focus_on_click">True</property>
|
||||
<signal name="clicked" handler="on_buttonChooseDirectory_clicked" last_modification_time="Tue, 29 Aug 2006 15:53:42 GMT"/>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">2</property>
|
||||
<property name="right_attach">3</property>
|
||||
<property name="top_attach">2</property>
|
||||
<property name="bottom_attach">3</property>
|
||||
<property name="x_options">fill</property>
|
||||
<property name="y_options"></property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
|
||||
</glade-interface>
|
||||
|
||||
Reference in New Issue
Block a user