Commit graph

1594 commits

Author SHA1 Message Date
Dave Davenport
9af191de26 Fix tests by splitting types name into separate file. 2017-06-20 21:02:13 +02:00
Dave Davenport
da00848416 Do better error reporting on configuration entries in rasi format. 2017-06-20 18:10:18 +02:00
Dave Davenport
8375fbb513 Support a config.rasi configuration file in the new format 2017-06-20 17:56:27 +02:00
Dave Davenport
22aacb8f94 Add extra check for rofi_theme_parse_prepare_file 2017-06-14 16:19:17 +02:00
Dave Davenport
c851134411 [X11Helper] Add extra debug output when determining target monitor. 2017-06-14 08:26:53 +02:00
Dave Davenport
8f035bf919 Add extra checks so widgets do not get added twice. 2017-06-14 07:54:20 +02:00
Dave Davenport
02ef2f41ef Extend list of printable properties names to include list and orientation. 2017-06-13 21:42:03 +02:00
Dave Davenport
a3c1ff7d94 [helper] Fix type issue with variadic function.
*
https://www.securecoding.cert.org/confluence/display/c/DCL11-C.+Understand+the+type+issues+associated+with+variadic+functions
2017-06-13 10:16:40 +02:00
Dave Davenport
1b3ce23b80 Add missing null statement for fallthrough 2017-06-12 08:53:16 +02:00
Dave Davenport
26d9da7263 Position the overlay in the top right corner of the listview. 2017-06-12 08:17:28 +02:00
Dave Davenport
c53e6cc20c Make the compiler STFU about desired fallthroughs.
* https://dzone.com/articles/implicit-fallthrough-in-gcc-7
2017-06-12 07:47:44 +02:00
Dave Davenport
f102ed7295 Center align sidebar buttons by default. 2017-06-11 19:23:18 +02:00
Quentin Glidic
19a2d37df3
gitmodules: Update libnkutils
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-11 18:39:26 +02:00
Dave Davenport
067544120f Make function declaration match function prototype.
- Extra NULL check.
2017-06-09 09:18:17 +02:00
Dave Davenport
ad91f9a124 [TextBox] Calculate yalign based on actual side, not estimated size. 2017-06-08 08:46:16 +02:00
Dave Davenport
47c7518656 Fix parsing old themes from rofi-themes repo. 2017-06-07 20:41:43 +02:00
Dave Davenport
9fe67c1822 [TextBox] Remove TB_LEFT/CENTER/RIGHT replace with xalign/yalign. 2017-06-07 20:16:14 +02:00
Quentin Glidic
726d940eca
drun: Use the requested icon size for lookup
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:49:20 +02:00
Quentin Glidic
9b3a60928f
drun: Re-remove the context limitations for icon lookup
Some applications use Devices, Status or even Actions icons.

Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:42:54 +02:00
Quentin Glidic
3067f67fd1
drun: Use Adwaita and gnome as fallback themes
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-07 12:41:09 +02:00
Dave Davenport
07076d154a Load theme-str after loading fallback themes.
* If no theme loaded, try converting old theme.
 * If still no theme loaded, try default theme.
 * Then load modifications (theme-str option)
2017-06-07 07:53:33 +02:00
Dave Davenport
d33edaf09d [View] Do not set rofi fullheight when num lines eq 0 2017-06-06 17:49:24 +02:00
Dave Davenport
2a18a46b24 [View] Update sidebar buttons when we have no prompt. 2017-06-06 09:40:56 +02:00
Dave Davenport
a399adfa38 [TextBox] Fix centering with large padding 2017-06-06 09:28:36 +02:00
Dave Davenport
27d1da76b1 [TextBox] Fix yalign for cursor and icon. 2017-06-06 09:09:57 +02:00
Dave Davenport
1efb4dab6c Fix rendering of icons with single font size. 2017-06-04 16:08:34 +02:00
Dave Davenport
e12cf40e54 Change Listview::barview to Listview::layout 2017-06-03 21:46:21 +02:00
Dave Davenport
c29f897d69 Don't inline function that uses alloca. 2017-06-03 21:40:14 +02:00
Dave Davenport
68641a2143 Add new keywords to theme printer 2017-06-03 20:45:16 +02:00
Dave Davenport
9a62bfd172 Run indenter. 2017-06-03 20:35:50 +02:00
Dave Davenport
684211aba4 [View] Remove extra return. 2017-06-03 20:33:30 +02:00
Quentin Glidic
0adc0d7c08
view: Always create textbox with type
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 20:04:21 +02:00
Dave Davenport
a2620745e2 Fix sidebar in stock theme and sidebar button clicking 2017-06-03 19:56:02 +02:00
Dave Davenport
5bc8ea29a5 Fix converting x,y to cursor position. 2017-06-03 18:39:37 +02:00
Dave Davenport
8b7ceb9286 Fix textview clicking. 2017-06-03 18:34:26 +02:00
Dave Davenport
8875118334 Don't popup error dialog, pospone error message. 2017-06-03 16:06:32 +02:00
Dave Davenport
539172187f Don't depend on latest of glib. 2017-06-03 15:45:16 +02:00
Dave Davenport
35e2e2a1cb Merge branch 'master' of github:DaveDavenport/rofi 2017-06-03 15:38:32 +02:00
Dave Davenport
7c4709a43f Fix icon sizing, use font size. 2017-06-03 15:36:21 +02:00
Quentin Glidic
d88b1bd09b
xcb: Be sure not to leak xkb keymap/state
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-03 14:26:34 +02:00
Dave Davenport
044c55dd2f Fix icon offset.
- Always add more ()
2017-06-03 14:10:07 +02:00
Dave Davenport
78c6993750 Merge remote-tracking branch 'origin/master' into barview 2017-06-03 01:23:31 +02:00
Dave Davenport
9b0d1faacf Replace g_log by g_debug 2017-06-02 22:39:20 +02:00
Quentin Glidic
b0fe6d3c6a
drun: Actually use the icon theme setting
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2017-06-02 21:35:26 +02:00
Dave Davenport
c5f5477788 Check surface status when loading icon. 2017-06-02 21:34:07 +02:00
Dave Davenport
e49eb4d531 [Drun] Async don't rely on icon_name or free it 2017-06-02 19:11:18 +02:00
Dave Davenport
4cd2d87ed2 Merge remote-tracking branch 'origin/master' into barview 2017-06-02 18:52:28 +02:00
Dave Davenport
1be9438711 Fix icon_size and allow setting icon theme (for testing). 2017-06-02 18:37:03 +02:00
Dave Davenport
a43e4e5b12 Add small debug for unfound icons 2017-06-02 18:20:31 +02:00
Dave Davenport
1e0fb75189 Filter scanning same directory twice for same desktop files. 2017-06-02 18:13:11 +02:00