One step towards "Profile (look) browser" (issue 853): global (bundled) and user's profiles can now be stored in subdirectories.

"Use bundles profiles" added to the Preferences window.
This commit is contained in:
Hombre
2013-09-16 00:32:44 +02:00
parent 0a4b476a02
commit 7e26931ecb
74 changed files with 1459 additions and 571 deletions

View File

@@ -29,7 +29,9 @@
#include "partialpastedlg.h"
#include "exportpanel.h"
#include "extprog.h"
#include "profilestore.h"
class ProfileStoreLabel;
class FileBrowser;
class FileBrowserEntry;
class FileBrowserListener {
@@ -56,7 +58,8 @@ struct FileBrowserIdleHelper {
*/
class FileBrowser : public ThumbBrowserBase,
public LWButtonListener,
public ExportPanelListener{
public ExportPanelListener,
public ProfileStoreListener {
typedef sigc::signal<void> type_trash_changed;
@@ -147,8 +150,8 @@ class FileBrowser : public ThumbBrowserBase,
void setFileBrowserListener (FileBrowserListener* l) { tbl = l; }
void menuItemActivated (Gtk::MenuItem* m);
void applyMenuItemActivated (Glib::ustring ppname);
void applyPartialMenuItemActivated (Glib::ustring ppname);
void applyMenuItemActivated (ProfileStoreLabel *label);
void applyPartialMenuItemActivated (ProfileStoreLabel *label);
void applyFilter (const BrowserFilter& filter);
int getNumFiltered(){ return numFiltered;}
@@ -182,6 +185,8 @@ class FileBrowser : public ThumbBrowserBase,
// exportpanel interface
void exportRequested();
void updateProfileList ();
type_trash_changed trash_changed();
};