-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsglauncher.h
62 lines (54 loc) · 2.42 KB
/
sglauncher.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#include <gtk/gtk.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <math.h>
#include <ctype.h>
#include <libintl.h>
#include <locale.h>
#define _(String) gettext(String)
#define GETTEXT_PACKAGE "sglauncher"
#define localedir "/usr/share/locale"
#define ML 256
const gchar *cweb, *cwebng, *corder, *active_text, *home_dir, *config_file_path, *terminal,
*deskenv, *quick_dirs[] = {NULL};
gchar *pm, *webengine, *cwengine, cengine[ML], *program_icon, *ccloseterm;
guint wengine, mlayout=0, showweb=1, showcmd=1, showcalc=1, showda=1, showofd=1, useiconview=0,
showscientific=1, exitwhenunfocused=0, sgcfg, nocsd=0, hidetitle=0, entryonbottom=0,
callconfig=0, nohome=0, restarting=0, ismoving=0, usecsd=1, fcsd=0, iconsize=16, qasize=16,
closeterm=1,ignorenodisplay=1, ignoreterminal=0, ignoreonlyshowin=0, hidewindeco=0,
forceinstance=0,singleinstance=0, showqa=1, showappicons=1, msizex=640, msizey=400;
GtkWidget *window, *grid, *button, *cmd_row, *dialog, *web_row, *entry, *manswer, *mathtext,
*listbox2, *qa, *row, *headerbar, *button, *image, *wtitle, *submenu, *submenu_item_settings,
*submenu_item_quickhelp, *submenu_item_about, *submenu_item4, *submenu_item5, *weblabel, *webcombo,
*webctm, *wmlayout, *wshowcmd, *wshowweb, *wshowcalc, *wshowscientific, *wexitwhenunfocused, *defbtn,
*applybtn, *applist, *web_box, *wshowda, *wusecsd, *whidetitle ,*scrolled_window, *math, *iconview,
*submenu_item_onlinehelp, *submenu_menu_help, *submenu_item_help, *wentryonbottom, *wiconsize,
*wuseiconview, *wcloseterm, *wignorenodisplay, *wignoreterminal, *whidewindeco, *wignoreonlyshowin,
*xdg_box, *xdg_row, *wshowofd, *wsingleinstance, *wshowqa, *wqasize, *wshowappicons, *wmsizex, *wmsizey;
GPtrArray *program_icon_names;
GtkIconTheme *theme;
GtkIconInfo *info;
GdkPixbuf *icon;
GtkTreeStore *store;
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
GtkTreeModelSort *sorted_model;
GtkTreeModelFilter *filter_model;
GOptionEntry entries[] =
{
{ "cfg", 0, 0, G_OPTION_ARG_NONE, &sgcfg, "Open SGLauncher settings", NULL },
{ "nocsd", 0, 0, G_OPTION_ARG_NONE, &fcsd, "Disable CSD Decoration", NULL },
{ "new-instance", 0, 0, G_OPTION_ARG_NONE, &forceinstance, "Force open program ignoring lock file", NULL },
{ NULL }
};
#include "settings.h"
#include "calc.h"
#include "exec.h"
#include "quickaccess.h"
#include "entryloader.h"
#include "events.h"
#include "keyhandler.h"
#include "cfgmgr.h"
#include "mainwindow.h"