Merge lp://staging/~sachinr/xpad/xpad-tray-config into lp://staging/xpad

Proposed by Sachin Raut
Status: Merged
Merged at revision: 660
Proposed branch: lp://staging/~sachinr/xpad/xpad-tray-config
Merge into: lp://staging/xpad
Diff against target: 388 lines (+174/-16) (has conflicts)
3 files modified
src/xpad-preferences.c (+44/-2)
src/xpad-settings.c (+34/-2)
src/xpad-tray.c (+96/-12)
Text conflict in src/xpad-tray.c
To merge this branch: bzr merge lp://staging/~sachinr/xpad/xpad-tray-config
Reviewer Review Type Date Requested Status
Arthur Borsboom Approve
Review via email: mp+191013@code.staging.launchpad.net

Description of the change

fixed Bug #304331: controlling right/left click on tray icon.
fixed Bug #345278: toggle on left mouse click.

To post a comment you must log in.
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :
Download full text (17.9 KiB)

Hi Sachin,

Thanks for proposing your code for merging. I would like to finish my
current work first (garbage collection with the two bugs). Once the
"garbage counter" is at 0, and the application is still working, I will
upload my code and start merging yours in the main branch, ok?

Some introduction from my side:

I'm Dutch (= The Netherlands), 34 years old, male (duhh), and currently
travelling through South-America by bike. Well, travelling, I am staying in
a nice appartment in Lima, right now. :)

How's life coping for you? You are Indian, am I right?

On 14 October 2013 12:37, Sachin Raut <email address hidden> wrote:

> Sachin Raut has proposed merging lp:~sachinr/xpad/xpad-tray-config into
> lp:xpad.
>
> Requested reviews:
> Xpad Administrators (xpad-team)
> Related bugs:
> Bug #304331 in Xpad: "controlling right/left click on tray icon"
> https://bugs.launchpad.net/xpad/+bug/304331
> Bug #345278 in Xpad: "toggle on left mouse click"
> https://bugs.launchpad.net/xpad/+bug/345278
>
> For more details, see:
> https://code.launchpad.net/~sachinr/xpad/xpad-tray-config/+merge/191013
>
> fixed Bug #304331: controlling right/left click on tray icon.
> fixed Bug #345278: toggle on left mouse click.
> --
> https://code.launchpad.net/~sachinr/xpad/xpad-tray-config/+merge/191013
> You are subscribed to branch lp:xpad.
>
> === modified file 'src/xpad-preferences.c'
> --- src/xpad-preferences.c 2008-09-21 00:03:40 +0000
> +++ src/xpad-preferences.c 2013-10-14 17:36:30 +0000
> @@ -39,6 +39,7 @@
> GtkWidget *editcheck;
> GtkWidget *stickycheck;
> GtkWidget *confirmcheck;
> + GtkWidget *trayconfigbox;
>
> GtkWidget *textbutton;
> GtkWidget *backbutton;
> @@ -50,6 +51,7 @@
> guint notify_font_handler;
> guint notify_back_handler;
> guint notify_text_handler;
> + guint notify_tray_handler;
> guint font_handler;
> guint back_handler;
> guint text_handler;
> @@ -58,6 +60,7 @@
> guint editcheck_handler;
> guint stickycheck_handler;
> guint confirmcheck_handler;
> + guint trayclick_handler;
> };
>
> static void change_edit_check (GtkToggleButton *button, XpadPreferences
> *pref);
> @@ -68,12 +71,14 @@
> static void change_text_color (GtkColorButton *button, XpadPreferences
> *pref);
> static void change_back_color (GtkColorButton *button, XpadPreferences
> *pref);
> static void change_font_face (GtkFontButton *button, XpadPreferences
> *pref);
> +static void change_tray_click_configuration(GtkComboBox *box,
> XpadPreferences *pref);
> static void notify_edit (XpadPreferences *pref);
> static void notify_sticky (XpadPreferences *pref);
> static void notify_confirm (XpadPreferences *pref);
> static void notify_fontname (XpadPreferences *pref);
> static void notify_text_color (XpadPreferences *pref);
> static void notify_back_color (XpadPreferences *pref);
> +static void notify_tray_click (XpadPreferences *pref);
> static void xpad_preferences_finalize (GObject *object);
> static void xpad_preferences_response (GtkDialog *dialog, gint response);
>
> @@ -112,7 +117,7 @@
> const gchar *fo...

Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

I have merged the changes in my development environment and fixed the conflicts.
Tested the four new options for the left-click behaviour and it seems to work nicely!

Good job.

I will merge this in the main branch.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches