all repos — fluxbox @ 3e83f5941f75dd065d3d9f108a6510e5bd9a9266

custom fork of the fluxbox windowmanager

added session.appsFile to the ressources
akir akir
commit

3e83f5941f75dd065d3d9f108a6510e5bd9a9266

parent

45726d3016ed9b4a9e3a135d5b30246245bbaf92

3 files changed, 7 insertions(+), 6 deletions(-)

jump to
M src/Remember.ccsrc/Remember.cc

@@ -21,7 +21,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Remember.cc,v 1.42 2004/09/04 04:54:38 akir Exp $ +// $Id: Remember.cc,v 1.43 2004/10/19 09:01:49 akir Exp $ #include "Remember.hh" #include "ClientPattern.hh"

@@ -445,8 +445,7 @@ }

void Remember::load() { - string apps_string; - Fluxbox::instance()->getDefaultDataFilename("apps", apps_string); + string apps_string = FbTk::StringUtil::expandFilename(Fluxbox::instance()->getAppsFilename()); #ifdef DEBUG cerr<<__FILE__<<"("<<__FUNCTION__<<"): Loading apps file ["<<apps_string<<"]"<<endl;
M src/fluxbox.ccsrc/fluxbox.cc

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.cc,v 1.259 2004/10/18 01:26:54 akir Exp $ +// $Id: fluxbox.cc,v 1.260 2004/10/19 09:01:49 akir Exp $ #include "fluxbox.hh"

@@ -218,6 +218,7 @@ m_rc_menufile(m_resourcemanager, DEFAULTMENU, "session.menuFile", "Session.MenuFile"),

m_rc_keyfile(m_resourcemanager, DEFAULTKEYSFILE, "session.keyFile", "Session.KeyFile"), m_rc_slitlistfile(m_resourcemanager, "", "session.slitlistFile", "Session.SlitlistFile"), m_rc_groupfile(m_resourcemanager, "", "session.groupFile", "Session.GroupFile"), + m_rc_appsfile(m_resourcemanager, "", "session.appsFile", "Session.AppsFile"), m_rc_titlebar_left(m_resourcemanager, TitlebarList(&s_titlebar_left[0], &s_titlebar_left[1]), "session.titlebar.left", "Session.Titlebar.Left"),
M src/fluxbox.hhsrc/fluxbox.hh

@@ -22,7 +22,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: fluxbox.hh,v 1.93 2004/10/18 01:26:54 akir Exp $ +// $Id: fluxbox.hh,v 1.94 2004/10/19 09:01:49 akir Exp $ #ifndef FLUXBOX_HH #define FLUXBOX_HH

@@ -124,6 +124,7 @@ inline const std::string &getStyleFilename() const { return *m_rc_stylefile; }

inline const std::string &getMenuFilename() const { return *m_rc_menufile; } inline const std::string &getSlitlistFilename() const { return *m_rc_slitlistfile; } + inline const std::string &getAppsFilename() const { return *m_rc_appsfile; } inline int colorsPerChannel() const { return *m_rc_colors_per_channel; } inline int getNumberOfLayers() const { return *m_rc_numlayers; } inline int getTabsPadding() const { return *m_rc_tabs_padding; }

@@ -264,7 +265,7 @@ m_rc_tabs_padding,

m_rc_focused_tab_min_width; FbTk::Resource<std::string> m_rc_stylefile, m_rc_menufile, m_rc_keyfile, m_rc_slitlistfile, - m_rc_groupfile; + m_rc_groupfile, m_rc_appsfile; FbTk::Resource<TitlebarList> m_rc_titlebar_left, m_rc_titlebar_right;