wdlkmpx
81d1a925f2
completion: attemp to silence Gtk-WARNING **: Allocating size to Window ...
...
Gtk-WARNING **: Allocating size to XXX without calling
gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Not a proper fix
Bug appeared in gtk 3.20
Probably fixed in gtk 3.22.xx .. I get this this warning with gtk 3.22.11
the hack should be applied to (gtk >= 3.20 && gtk < 3.24)
2020-09-07 11:51:09 +08:00
wdlkmpx
d73f7460c4
completion: use gtk_tree_selection_select_iter()
2020-09-06 20:07:34 +08:00
wdlkmpx
0dab60df9b
completion: don't create extra column
...
...that stores the current index in the GtkTreeView model
it was a hack, but it was not needed anyway
gtk2 does not have this function:
gtk_tree_model_iter_previous()
but it's possible to do the same
with gtk_tree_path_prev() + a few more lines
2020-09-06 19:18:00 +08:00
wdlkmpx
cd78cd0f0d
gtkcompletionline.cc: avoid on_key_press callback when key is released
2020-09-06 17:51:18 +08:00
wdlkmpx
703cf54b76
main.cc: (search) fix "Source ID was not found when attempting to remove it"
2020-08-24 20:28:25 +08:00
wdlkmpx
fe7fdf4f54
src: (gtkcompat) use gtk_widget_set_margin_start/end
2020-08-24 19:27:31 +08:00
wdlkmpx
2dd933b6a2
src: (gtkcompat) use gtk_widget_set_halign/valign
2020-08-24 19:27:28 +08:00
wdlkmpx
2b250ecbd7
src: use gtk_box_new()
2020-08-24 19:27:26 +08:00
wdlkmpx
a2009d7d76
gtkcompletionline.cc: hack for glibc < 2.10 (dirent)
2020-08-24 19:27:24 +08:00
wdlkmpx
c4813e68e4
update autogen.sh
2020-08-24 19:27:20 +08:00
wdlkmpx
54c03a2099
support gtk >= 2.14
2020-08-24 19:27:15 +08:00
wdlkmpx
e6328e50a8
main.cc: properly free GError and GOptionContext...
2020-08-24 19:27:09 +08:00
wdlkmpx
1345447fb1
reimplement `--geometry WxH+X+Y` (cli param) [without libpopt]
...
example: gmrun --geometry 600x40+100+100
2020-07-17 14:50:30 +08:00
wdlkmpx
8340de3671
gmrunrc: remove unused options
...
-CenteredByWidth
-CenteredByHeight
-UseActiveMonitor
2020-07-17 13:42:10 +08:00
Samuel Bauer
d6a5099595
gtkcompletionline.cc: don't use `goto` in generate_dir_list()
...
mazes-80
2020-07-17 13:42:09 +08:00
wdlkmpx
1ce4041550
fix setting dialog border, name and title..
...
my bad
2020-07-16 20:13:06 +08:00
Samuel Bauer
df93a29b66
renamed main window
2020-07-16 19:30:33 +08:00
wdlkmpx
c64e88d053
update README a bit
2020-07-16 18:51:05 +08:00
wdlkmpx
35f715d5c9
remove gmrun.glade
2020-07-16 18:40:36 +08:00
wdlkmpx
97e81a047e
update ChangeLog & AUTHORS
2020-07-16 18:40:10 +08:00
wdlkmpx
108bd70d17
Silence "GtkDialog mapped without a transient parent. This is discouraged."
2020-01-18 19:53:04 +08:00
Samuel Bauer
617d1847df
Cosmetic changes
...
From 7b3cd60dee790d8fd8faa187d8b743acad71ff09
2020-01-18 19:36:08 +08:00
Samuel Bauer
7037e1079a
removed compilation warnings
...
From 3ec51c4b83369fae6700fc3418a431627966c72e
2020-01-16 08:21:56 +08:00
Samuel Bauer
49443fe20b
removed quote_string: use glib regex
...
From 7eb9d24a5d9124ca959778dda3f7ff4a0f87a6d4
2020-01-16 07:59:36 +08:00
wdlkmpx
de54e6311c
indentation style: use tabs
...
so that it's easier to port patches from
https://gitlab.com/mazes_80/gmrun/commits/master
2020-01-16 07:47:38 +08:00
Samuel Bauer
f3a560cc31
parse_tilda(): use only glib
...
cf8a73470a
2020-01-16 03:31:24 +08:00
mazes_80
bbc29eca32
GtkCList to GtkTreeview
...
d85a0c6733
2020-01-16 03:08:04 +08:00
wdlkmpx
869a63a7a0
gtk2/3: support "navigating" history with mouse wheel
...
based on gmrun-0.9.2-mousewheel.patch [fedora]
2020-01-16 00:45:34 +08:00
wdlkmpx
6063a4d2ba
gmrunrc: better defaults
...
gmrun-gmrunrc.patch [fedora]
2020-01-15 23:03:46 +08:00
wdlkmpx
5572744a9a
update readme
2020-01-15 22:38:42 +08:00
wdlkmpx
876b146465
gtk2/3: set_info_text_color() [unify GtkStyle functions]
...
this is compatible with gtk2 and gtk3.. the same code
2020-01-15 21:06:40 +08:00
wdlkmpx
827d926d23
gtk2/3: remove titlebar from dialog (is this a good idea?)
...
To me it looks better with a titlebar
use gtk_widget_get_window() for gdk_window_set_decorations()
2020-01-15 18:41:08 +08:00
wdlkmpx
aa4a37ddcc
WIP gtk3 support [--enable-gtk3]
...
work in progress..
deleted functions:
- gtk_style_ref() = gtk1.2 - not needed in gtk2/3
- gdk_window_set_decorations() - bug with gtk3 - not required
- gtk_window_set_policy() - gtk2 - not required
Problem:
Need to replace GtkCList with GtkTreeView #help_wanted
http://scentric.net/tutorial/ch-treeview.html
https://stackoverflow.com/questions/18908756/use-what-instead-of-deprecated-gtk-clist
https://lists.gnu.org/archive/html/bug-gnubg/2016-06/msg00010.html
2020-01-15 04:13:23 +08:00
wdlkmpx
f9094b6a61
gtkcompletionline.cc: comment out gtk_window_set_policy()
...
this is not compatible with gtk3
code to replace it with cairo or something:
https://stackoverflow.com/questions/40645031/how-do-i-make-a-gtk3-image-in-a-window-shrinkable
2020-01-15 03:36:35 +08:00
wdlkmpx
f5106c4526
Replace gtk_widget_set_usize() with gtk_widget_set_size_request()
2020-01-15 03:36:35 +08:00
wdlkmpx
39f5b171cb
Replace GTK_CHECK_CAST with G_TYPE_CHECK_INSTANCE_CAST
2020-01-15 03:36:34 +08:00
wdlkmpx
d338978275
replace gtk_timeout_add() with g_timeout_add() [not sure what I'm doing]
2020-01-15 03:36:34 +08:00
wdlkmpx
6bce26ac00
gtkcompletionline.cc: use gtk-widget-get-allocation
...
https://developer.gnome.org/gtk2/stable/GtkWidget.html#gtk-widget-get-allocation
gtk >= 2.18
2020-01-15 00:06:29 +08:00
wdlkmpx
2ad08091e7
minimum gtk version = 2.24.0
2020-01-14 23:33:39 +08:00
wdlkmpx
1571627ad9
Replace GDK_<keyname> with GDK_KEY_<keyname>
...
gtk >= 2.22
2020-01-14 23:33:38 +08:00
wdlkmpx
a7d13fdfa6
gtk_signal_* -> g_signal_* / GTK_OBJECT -> GTK_WIDGET
...
GTK_TYPE_* -> G_TYPE_*
GTK_SIGNAL_FUNC() -> GCALLBACK()
https://developer.gnome.org/gtk2/stable/gtk2-Signals.html
gtk_signal is deprecated in gtk2 and completely removed in gtk3
2020-01-14 23:33:38 +08:00
wdlkmpx
edd815e3fd
update README.markdown (a bit)
2020-01-14 23:33:38 +08:00
wdlkmpx
0224514aa2
gmrun 0.9.5w
2019-05-22 23:51:21 +08:00
wdlkmpx
66bf9a7ad0
configure.ac: no need to check for glib
...
it's a dependency of gtk
2019-05-22 23:47:42 +08:00
unknown
d3370a416f
Handle more than 256 characters in the history
...
https://git.archlinux.org/svntogit/community.git/tree/trunk/history_string.patch?h=packages/gmrun
2019-05-22 23:44:50 +08:00
Henning Schild
1d35f00f96
gtk: do not select any text to keep clipboard clean
...
If you use gmrun to open an editor to drop you clipboard content in it,
your clipboard content will get messed up by gmrun.
2018-11-24 10:45:30 +01:00
wdlkmpx
cde4856847
add .travis.yml
2017-12-03 14:11:17 +00:00
Henning Schild
6a0ea012a7
gtk: replace deprecated gtk_type_new and _unique
...
Calling these causes segfaults.
This fix is based on
https://launchpadlibrarian.net/295253441/gmrun-tdp-patch.diff
2017-12-03 13:10:17 +00:00
wdlkmpx
8f4d2fca91
bump version to 0.9.4w
2017-06-29 19:50:12 +08:00
wdlkmpx
c4deb56f8c
simplify / use @sysconfdir@ for gmrunrc
2017-06-29 19:46:04 +08:00