diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 13:25:47 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 13:25:47 (GMT) |
commit | 71674739ec6de376273cb3c5b938da132e7035c5 (patch) | |
tree | abd6e295067347b6f95622c9ed1a00c6396dc314 /src/Screen.cc | |
parent | 86819abab91cf3ea20540278d00bad6a6b86d4b0 (diff) | |
download | fluxbox_pavel-71674739ec6de376273cb3c5b938da132e7035c5.zip fluxbox_pavel-71674739ec6de376273cb3c5b938da132e7035c5.tar.bz2 |
Changed workspace names signal in BScreen to use the new signal system
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 06f3146..7c372bc 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -341,7 +341,6 @@ BScreen::BScreen(FbTk::ResourceManager &rm, | |||
341 | int scrn, int num_layers) : | 341 | int scrn, int num_layers) : |
342 | m_clientlist_sig(*this), // client signal | 342 | m_clientlist_sig(*this), // client signal |
343 | m_iconlist_sig(*this), // icon list signal | 343 | m_iconlist_sig(*this), // icon list signal |
344 | m_workspacenames_sig(*this), // workspace names signal | ||
345 | m_workspace_area_sig(*this), // workspace area signal | 344 | m_workspace_area_sig(*this), // workspace area signal |
346 | m_focusedwindow_sig(*this), // focused window signal | 345 | m_focusedwindow_sig(*this), // focused window signal |
347 | m_reconfigure_sig(*this), // reconfigure signal | 346 | m_reconfigure_sig(*this), // reconfigure signal |
@@ -1017,7 +1016,7 @@ void BScreen::updateWorkspaceName(unsigned int w) { | |||
1017 | Workspace *space = getWorkspace(w); | 1016 | Workspace *space = getWorkspace(w); |
1018 | if (space) { | 1017 | if (space) { |
1019 | m_workspace_names[w] = space->name(); | 1018 | m_workspace_names[w] = space->name(); |
1020 | m_workspacenames_sig.notify(); | 1019 | m_workspacenames_sig.emit(*this); |
1021 | Fluxbox::instance()->save_rc(); | 1020 | Fluxbox::instance()->save_rc(); |
1022 | } | 1021 | } |
1023 | } | 1022 | } |
@@ -1104,7 +1103,7 @@ int BScreen::addWorkspace() { | |||
1104 | 1103 | ||
1105 | if (save_name) { | 1104 | if (save_name) { |
1106 | addWorkspaceName(wkspc->name().c_str()); //update names | 1105 | addWorkspaceName(wkspc->name().c_str()); //update names |
1107 | m_workspacenames_sig.notify(); | 1106 | m_workspacenames_sig.emit(*this); |
1108 | } | 1107 | } |
1109 | 1108 | ||
1110 | saveWorkspaces(m_workspaces_list.size()); | 1109 | saveWorkspaces(m_workspaces_list.size()); |