summaryrefslogtreecommitdiff
path: root/src/gui/widgets/browserbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-16 00:57:59 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-16 00:57:59 +0300
commitae9577c6a52a1e4eb1ff647905672ca840ad3e44 (patch)
tree172eeedbaea5004a92f100dee37a43ffb8d27672 /src/gui/widgets/browserbox.h
parentc91bc5201596eda73f9df2222d76d9f413426a85 (diff)
downloadplus-ae9577c6a52a1e4eb1ff647905672ca840ad3e44.tar.gz
plus-ae9577c6a52a1e4eb1ff647905672ca840ad3e44.tar.bz2
plus-ae9577c6a52a1e4eb1ff647905672ca840ad3e44.tar.xz
plus-ae9577c6a52a1e4eb1ff647905672ca840ad3e44.zip
Simplify menu creation in popupmenu class.
Diffstat (limited to 'src/gui/widgets/browserbox.h')
-rw-r--r--src/gui/widgets/browserbox.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index cd69ce56f..e86f0288e 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -112,6 +112,11 @@ class BrowserBox : public gcn::Widget,
*/
void addRow(const std::string &row, bool atTop = false);
+ /**
+ * Adds a menu line to the browser.
+ */
+ void addRow(const std::string &cmd, char *text);
+
void addImage(const std::string &path);
/**