aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2006-06-30 15:59:30 (GMT)
committermarkt <markt>2006-06-30 15:59:30 (GMT)
commita14c322dcbbc7330b6933230168d34411f7ac63b (patch)
treed2b6a593621e4240ad68a61294a454f9f0d66940 /src
parent91ab82513b7638825ca7231fa35f52f66f5aaed3 (diff)
downloadfluxbox-a14c322dcbbc7330b6933230168d34411f7ac63b.zip
fluxbox-a14c322dcbbc7330b6933230168d34411f7ac63b.tar.bz2
more dead functions
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc20
-rw-r--r--src/fluxbox.hh2
2 files changed, 0 insertions, 22 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index d886eeb..1cdc647 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -1621,26 +1621,6 @@ void Fluxbox::load_rc(BScreen &screen) {
1621 } 1621 }
1622} 1622}
1623 1623
1624void Fluxbox::loadRootCommand(BScreen &screen) {
1625
1626 string dbfile(getRcFilename());
1627
1628 XrmDatabaseHelper database(dbfile.c_str());
1629 if (!*database)
1630 database = XrmGetFileDatabase(DEFAULT_INITFILE);
1631
1632 XrmValue value;
1633 char *value_type, name_lookup[1024], class_lookup[1024];
1634 sprintf(name_lookup, "session.screen%d.rootCommand", screen.screenNumber());
1635 sprintf(class_lookup, "Session.Screen%d.RootCommand", screen.screenNumber());
1636 if (XrmGetResource(*database, name_lookup, class_lookup, &value_type,
1637 &value)) {
1638 screen.saveRootCommand(value.addr==0 ? "": value.addr);
1639 } else
1640 screen.saveRootCommand("");
1641
1642}
1643
1644void Fluxbox::reload_rc() { 1624void Fluxbox::reload_rc() {
1645 load_rc(); 1625 load_rc();
1646 reconfigure(); 1626 reconfigure();
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 5337ad9..2a113e5 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.hh
@@ -151,8 +151,6 @@ public:
151 151
152 void shutdown(); 152 void shutdown();
153 void load_rc(BScreen &scr); 153 void load_rc(BScreen &scr);
154 void loadRootCommand(BScreen &scr);
155 void loadTitlebar();
156 void saveStyleFilename(const char *val) { m_rc_stylefile = (val == 0 ? "" : val); } 154 void saveStyleFilename(const char *val) { m_rc_stylefile = (val == 0 ? "" : val); }
157 void saveStyleOverlayFilename(const char *val) { m_rc_styleoverlayfile = (val == 0 ? "" : val); } 155 void saveStyleOverlayFilename(const char *val) { m_rc_styleoverlayfile = (val == 0 ? "" : val); }
158 void saveMenuFilename(const char *); 156 void saveMenuFilename(const char *);