aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-03-18 22:01:22 (GMT)
committerfluxgen <fluxgen>2006-03-18 22:01:22 (GMT)
commitf5c2861baf1f5cec6c771527a65ecd1e0ed3ac85 (patch)
tree8acfe3a9238e3c27f40ff78bd6103f758bac525a
parent302c63e2dfbd426144280cc3d0b64a2d416ebe42 (diff)
downloadfluxbox-f5c2861baf1f5cec6c771527a65ecd1e0ed3ac85.zip
fluxbox-f5c2861baf1f5cec6c771527a65ecd1e0ed3ac85.tar.bz2
no more session.titlebar.left/right. They are now screen specific and the resources are created on the fly in FluxboxWindow
-rw-r--r--src/fluxbox.cc11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 75a4765..2ae8110 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -186,11 +186,6 @@ int handleXErrors(Display *d, XErrorEvent *e) {
186//static singleton var 186//static singleton var
187Fluxbox *Fluxbox::s_singleton=0; 187Fluxbox *Fluxbox::s_singleton=0;
188 188
189//default values for titlebar left and right
190//don't forget to change last value in m_rc_titlebar_* if you add more to these
191Fluxbox::Titlebar Fluxbox::s_titlebar_left[] = {STICK};
192Fluxbox::Titlebar Fluxbox::s_titlebar_right[] = {MINIMIZE, MAXIMIZE, CLOSE};
193
194Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfilename) 189Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfilename)
195 : FbTk::App(dpy_name), 190 : FbTk::App(dpy_name),
196 m_fbatoms(new FbAtoms()), 191 m_fbatoms(new FbAtoms()),
@@ -214,12 +209,6 @@ Fluxbox::Fluxbox(int argc, char **argv, const char *dpy_name, const char *rcfile
214 m_rc_slitlistfile(m_resourcemanager, "~/.fluxbox/slitlist", "session.slitlistFile", "Session.SlitlistFile"), 209 m_rc_slitlistfile(m_resourcemanager, "~/.fluxbox/slitlist", "session.slitlistFile", "Session.SlitlistFile"),
215 m_rc_groupfile(m_resourcemanager, "~/.fluxbox/groups", "session.groupFile", "Session.GroupFile"), 210 m_rc_groupfile(m_resourcemanager, "~/.fluxbox/groups", "session.groupFile", "Session.GroupFile"),
216 m_rc_appsfile(m_resourcemanager, "~/.fluxbox/apps", "session.appsFile", "Session.AppsFile"), 211 m_rc_appsfile(m_resourcemanager, "~/.fluxbox/apps", "session.appsFile", "Session.AppsFile"),
217 m_rc_titlebar_left(m_resourcemanager,
218 TitlebarList(&s_titlebar_left[0], &s_titlebar_left[1]),
219 "session.titlebar.left", "Session.Titlebar.Left"),
220 m_rc_titlebar_right(m_resourcemanager,
221 TitlebarList(&s_titlebar_right[0], &s_titlebar_right[3]),
222 "session.titlebar.right", "Session.Titlebar.Right"),
223 m_rc_tabs_attach_area(m_resourcemanager, ATTACH_AREA_WINDOW, "session.tabsAttachArea", "Session.TabsAttachArea"), 212 m_rc_tabs_attach_area(m_resourcemanager, ATTACH_AREA_WINDOW, "session.tabsAttachArea", "Session.TabsAttachArea"),
224 m_rc_cache_life(m_resourcemanager, 5, "session.cacheLife", "Session.CacheLife"), 213 m_rc_cache_life(m_resourcemanager, 5, "session.cacheLife", "Session.CacheLife"),
225 m_rc_cache_max(m_resourcemanager, 200, "session.cacheMax", "Session.CacheMax"), 214 m_rc_cache_max(m_resourcemanager, 200, "session.cacheMax", "Session.CacheMax"),