mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-11 13:50:48 -05:00
Add dialogs.h header.
This commit is contained in:
parent
6c37c0d989
commit
5c618681c4
2 changed files with 16 additions and 9 deletions
14
include/dialogs/dialogs.h
Normal file
14
include/dialogs/dialogs.h
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#ifndef ROFI_DIALOGS_DIALOGS_H
|
||||||
|
#define ROFI_DIALOGS_DIALOGS_H
|
||||||
|
|
||||||
|
/**
|
||||||
|
* List of available dialogs.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "dialogs/run.h"
|
||||||
|
#include "dialogs/ssh.h"
|
||||||
|
#include "dialogs/dmenu.h"
|
||||||
|
#include "dialogs/script.h"
|
||||||
|
#include "dialogs/window.h"
|
||||||
|
#include "dialogs/combi.h"
|
||||||
|
#endif // ROFI_DIALOGS_DIALOGS_H
|
|
@ -49,14 +49,7 @@
|
||||||
#include "textbox.h"
|
#include "textbox.h"
|
||||||
#include "x11-helper.h"
|
#include "x11-helper.h"
|
||||||
#include "xrmoptions.h"
|
#include "xrmoptions.h"
|
||||||
// Switchers.
|
#include "dialogs/dialogs.h"
|
||||||
#include "dialogs/run.h"
|
|
||||||
#include "dialogs/ssh.h"
|
|
||||||
#include "dialogs/dmenu.h"
|
|
||||||
#include "dialogs/script.h"
|
|
||||||
#include "dialogs/window.h"
|
|
||||||
#include "dialogs/combi.h"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// TEMP
|
// TEMP
|
||||||
|
@ -1604,7 +1597,7 @@ static void help ()
|
||||||
int code = execlp ( "man", "man", "-M", MANPAGE_PATH, "rofi", NULL );
|
int code = execlp ( "man", "man", "-M", MANPAGE_PATH, "rofi", NULL );
|
||||||
|
|
||||||
if ( code == -1 ) {
|
if ( code == -1 ) {
|
||||||
fprintf ( stderr, "Failed to execute man: %s\n", strerror ( errno ) );
|
fprintf ( stderr, "Failed to execute manpage viewer: %s\n", strerror ( errno ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue