Move context_menu into right header
This commit is contained in:
parent
63163fb498
commit
08019dc268
@ -30,8 +30,6 @@
|
||||
|
||||
GMainLoop *mainloop = NULL;
|
||||
|
||||
GSList *rules = NULL;
|
||||
|
||||
/* misc functions */
|
||||
static gboolean run(void *data);
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
#define ColFG 1
|
||||
#define ColBG 0
|
||||
|
||||
extern GSList *rules;
|
||||
extern const char *colors[3][3];
|
||||
|
||||
void wake_up(void);
|
||||
@ -23,7 +22,6 @@ int dunst_main(int argc, char *argv[]);
|
||||
|
||||
void usage(int exit_status);
|
||||
void print_version(void);
|
||||
void context_menu(void);
|
||||
void pause_signal_handler(int sig);
|
||||
|
||||
#endif
|
||||
|
@ -270,10 +270,7 @@ char *invoke_dmenu(const char *dmenu_input)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* Open the context menu that let's the user
|
||||
* select urls/actions/etc
|
||||
*/
|
||||
/* see menu.h */
|
||||
void context_menu(void)
|
||||
{
|
||||
GError *err = NULL;
|
||||
|
@ -7,5 +7,10 @@ void open_browser(const char *in);
|
||||
void invoke_action(const char *action);
|
||||
void regex_teardown(void);
|
||||
|
||||
/**
|
||||
* Open the context menu that lets the user select urls/actions/etc.
|
||||
*/
|
||||
void context_menu(void);
|
||||
|
||||
#endif
|
||||
/* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */
|
||||
|
@ -7,6 +7,8 @@
|
||||
|
||||
#include "dunst.h"
|
||||
|
||||
GSList *rules = NULL;
|
||||
|
||||
/*
|
||||
* Apply rule to notification.
|
||||
*/
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "src/dunst.h"
|
||||
#include "src/log.h"
|
||||
#include "src/markup.h"
|
||||
#include "src/menu.h"
|
||||
#include "src/notification.h"
|
||||
#include "src/queues.h"
|
||||
#include "src/settings.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user