Opened 10 years ago

Closed 10 years ago

#3681 closed task (fixed)

Port to Gtk3

Reported by: humitos Owned by: humitos
Priority: Normal Milestone: Unspecified
Component: GetBooks Version: Unspecified
Severity: Unspecified Keywords: port, gtk3, screenshot, patch
Cc: humitos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description (last modified by humitos)

This ticket is a task created to port Get Books to Gtk3. It's like a reminder and it will be useful to write down some documentation links that I will be using to do the port.

Attachments (6)

Port-Gtk3-backup.diff (49.7 KB) - added by humitos 10 years ago.
This is my progress until now. I'm attaching this here to have as a reference if someone else is porting another activity and as a backup as well
Port-Gtk3-backup.2.diff (56.4 KB) - added by humitos 10 years ago.
New "work in progress" diff
56.png (99.6 KB) - added by humitos 10 years ago.
Gtk3 look
0001-Port-to-Gtk3-SL-3681.patch (55.2 KB) - added by humitos 10 years ago.
Patch sent to the mailing list
0001-Port-to-Gtk3-SL-3681.2.patch (54.2 KB) - added by humitos 10 years ago.
Version 2
0001-Use-Gio-instead-dbus-to-monitor-pen-drives.patch (6.2 KB) - added by humitos 10 years ago.
Monitor devices with Gio

Download all attachments as: .zip

Change History (15)

comment:1 Changed 10 years ago by humitos

Defining custom signals:

This is useful to replace the gobject.signal_new call.

comment:2 Changed 10 years ago by humitos

comment:3 Changed 10 years ago by humitos

  • Description modified (diff)


comment:4 Changed 10 years ago by humitos

comment:5 Changed 10 years ago by humitos

  • Description modified (diff)

Changed 10 years ago by humitos

This is my progress until now. I'm attaching this here to have as a reference if someone else is porting another activity and as a backup as well

comment:6 Changed 10 years ago by humitos

I'm writing a lot of information here:

Changed 10 years ago by humitos

New "work in progress" diff

Changed 10 years ago by humitos

Gtk3 look

Changed 10 years ago by humitos

Patch sent to the mailing list

Changed 10 years ago by humitos

Version 2

Changed 10 years ago by humitos

Monitor devices with Gio

comment:7 Changed 10 years ago by godiard

Using the activity with sugar in spanish, when the user do click on a book, the information is not displayed and in the log there are a error:

1342191636.186853 DEBUG root: feedparser version 5.0.1
Traceback (most recent call last):

File "/home/gonzalo/Activities/GetBooks.activity/GetIABooksActivity.py", line 622, in selection_cb

self.show_book_data()

File "/home/gonzalo/Activities/GetBooks.activity/GetIABooksActivity.py", line 633, in show_book_data

book_data = _('Title:\t\t') + self.selected_title + '\n'

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

Is very important solve this error.

comment:8 Changed 10 years ago by humitos

  • Keywords port gtk3 screenshot patch added

comment:9 Changed 10 years ago by godiard

  • Resolution set to fixed
  • Status changed from new to closed

Filled the error in the previous comment as #3763.

Close this ticket. If there are any other problem related to the gtk3 port, fill with the gtk3 keyword.

Note: See TracTickets for help on using tickets.