Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geanyvc fix #300

Merged
merged 4 commits into from Nov 10, 2015
Merged

Geanyvc fix #300

merged 4 commits into from Nov 10, 2015

Conversation

kugel-
Copy link
Member

@kugel- kugel- commented Nov 9, 2015

please merge the fixes for 1.26

The old way was not robust and much too complicated. navqueue_goto_line()
does everything we need and we can simplify the whole thing to a single API
call.
@@ -1374,7 +1367,7 @@ create_commitDialog(void)
gtk_window_set_type_hint(GTK_WINDOW(commitDialog), GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_dialog_set_has_separator(GTK_DIALOG(commitDialog), FALSE);

dialog_vbox1 = GTK_DIALOG(commitDialog)->vbox;
dialog_vbox1 = gtk_dialog_get_content_area (GTK_DIALOG(commitDialog));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: no space before the opening (

@b4n
Copy link
Member

b4n commented Nov 9, 2015

not tested yet, but LGTM if it works

@frlan
Copy link
Member

frlan commented Nov 9, 2015

Can somebody with Gtk3 please run a test? With Gtk2 it looks fine for me

@kugel-
Copy link
Member Author

kugel- commented Nov 9, 2015

I found that the commit dialog hangs on GTK3. I'm checking this. However, this is not a regression so, technically it's still better as the status-quo as diff actions work.

gtk_dialog_set_has_separator() was removed in gtk3. For some reason
geanyvc successfully linked anyway, and when it was called it completely
messed up GTK's internal state.

The call can be removed without replacement since the separator has been off
by default since a while even in GTK2.
…oth gtk 2 and 3

The useless extra paned was particularly awkward. Under gtk3 the commit dialog
was hardly usable due to the tiny commit message text widget.
@kugel-
Copy link
Member Author

kugel- commented Nov 9, 2015

I double checked gtk3 again and fixed up the commit dialog. gtk2 build looks fine as well.

One more note regarding bf20fd7: I want this in because the old code was inherently incompatible with my splitwindow2 work, and it was strange/awkward and fragile regardless. Since I would like splitwindow2 to not break any of G-P this fix must be applied.

@frlan frlan added this to the 1.26 milestone Nov 9, 2015
@@ -392,23 +390,18 @@ show_output(const gchar * std_output, const gchar * name,
doc = document_new_file(name, ftype, std_output);
/* To due the given line is Scintilla's line number, but
* we need the view line number in this case. */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should purge the comment too

frlan added a commit that referenced this pull request Nov 10, 2015
Enable Gtk3 for GeanyVC as well as some UI fixes
@frlan frlan merged commit 2947a02 into geany:master Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants