B-RUNO
|
2011-12-05
, 09:15
|
|
Posts: 124 |
Thanked: 125 times |
Joined on Sep 2010
|
#11
|
|
2011-12-05
, 11:35
|
Posts: 915 |
Thanked: 57 times |
Joined on Jun 2011
|
#12
|
|
2011-12-05
, 11:39
|
Posts: 1,523 |
Thanked: 1,997 times |
Joined on Jul 2011
@ not your mom's FOSS basement
|
#13
|
The Following 14 Users Say Thank You to don_falcone For This Useful Post: | ||
|
2011-12-05
, 12:16
|
|
Posts: 855 |
Thanked: 612 times |
Joined on Oct 2010
@ Germany
|
#14
|
The Following User Says Thank You to Alfred For This Useful Post: | ||
|
2011-12-05
, 13:49
|
Posts: 896 |
Thanked: 978 times |
Joined on Feb 2011
@ Greece, Athens
|
#15
|
|
2011-12-05
, 14:09
|
Posts: 3 |
Thanked: 11 times |
Joined on Sep 2010
|
#16
|
The Following 10 Users Say Thank You to .__.. For This Useful Post: | ||
|
2011-12-05
, 14:22
|
Posts: 3,328 |
Thanked: 4,476 times |
Joined on May 2011
@ Poland
|
#17
|
The Following 2 Users Say Thank You to marmistrz For This Useful Post: | ||
|
2011-12-05
, 14:46
|
|
Posts: 61 |
Thanked: 166 times |
Joined on Dec 2011
|
#18
|
I really don't get it why you are forking h-d. And asking for a mail in order to publish source code is impolite if not suspicious. Just attach .dsc and .tar.gz files in your opening post, as simple as that. Or even better make a clone of h-d on gitorious and request a merge of your patches so they can be reviewed and eventually merged upstream.
The Following 4 Users Say Thank You to l32606 For This Useful Post: | ||
|
2011-12-05
, 15:07
|
|
Posts: 61 |
Thanked: 166 times |
Joined on Dec 2011
|
#19
|
diff -r community-ssu-hildon-desktop-master/community-ssu-hildon-desktop/debian/changelog community-ssu-hildon-desktop/debian/changelog 0a1,6 > hildon-desktop (1:2.2.142-16-l32606) unstable; urgency=low > > * support lock portrait > > -- l32606 <l32606@gmail.com> Sat, 03 Dec 2011 22:27:09 +0300 > diff -r community-ssu-hildon-desktop-master/community-ssu-hildon-desktop/src/launcher/hd-app-mgr.c community-ssu-hildon-desktop/src/launcher/hd-app-mgr.c 147a148,151 > static gboolean g_lock_portrait = TRUE; > > static gboolean g_rotation_flag = TRUE; // TRUE: AUTO; FALSE: lock > 489a494,499 > > gconf_client_notify_add (priv->gconf_client, "/apps/osso/hildon-desktop/orientation_lock", > hd_app_mgr_gconf_value_changed, > (gpointer) self, > NULL, NULL); > 1995c2005 < static gboolean --- > static gboolean 2082,2083c2092,2099 < priv->portrait = _hd_app_mgr_dbus_check_value (msg, < MCE_ORIENTATION_PORTRAIT); --- > if (g_rotation_flag) > { > priv->portrait = _hd_app_mgr_dbus_check_value (msg, MCE_ORIENTATION_PORTRAIT); > } > else > { > priv->portrait = g_lock_portrait; > } 2136c2152 < --- > (void)state; 2143c2159 < gboolean activate = ( --- > gboolean activate = TRUE;/*( 2153c2169 < ); --- > );*/ 2239a2256,2257 > gboolean v = STATE_IS_PORTRAIT(hd_render_manager_get_state ()); > 2319c2337,2348 < priv->ui_can_rotate = value; --- > priv->ui_can_rotate = TRUE;//value; > > priv->ui_can_rotate = TRUE; > if (value == TRUE) > { > g_rotation_flag = TRUE; > } > else > { > g_rotation_flag = FALSE; > g_lock_portrait = v; > } 2323a2353,2357 > else if (!g_strcmp0 (gconf_entry_get_key (entry), > "/apps/osso/hildon-desktop/orientation_lock")) > { > //(void); > } diff -r community-ssu-hildon-desktop-master/community-ssu-hildon-desktop/src/mb/hd-comp-mgr.c community-ssu-hildon-desktop/src/mb/hd-comp-mgr.c 1095c1095 < || gconf_client_get_bool (gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL)) --- > )//|| gconf_client_get_bool (gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL)) 3223c3223 < HdCompMgrPrivate *priv = hmgr->priv; --- > //HdCompMgrPrivate *priv = hmgr->priv; 3283c3283 < || gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL)) --- > )//|| gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL)) 3293c3293 < || gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL)) --- > )//|| gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL)) 3358,3359c3358,3359 < gboolean orientation_lock = gconf_client_get_bool (priv->gconf_client, < GCONF_KEY_ORIENTATION_LOCK, NULL); --- > gboolean orientation_lock = gconf_client_get_bool (priv->gconf_client, GCONF_KEY_ORIENTATION_LOCK, NULL); > orientation_lock = FALSE;
The Following 3 Users Say Thank You to l32606 For This Useful Post: | ||
|
2011-12-05
, 15:18
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#20
|
I really want to upload the source code together with the deb package.
BUT you know there is a limitation of the attachment size here.
And the size of source code file exceeds the forum's limit of 488.3 KB for .gz file.
So I have to do like that.
Actually I'm just a maemo user of N810, N900 and I like them and maemo.org. I even do not want to fork HD. I wish CSSU can provide the feature just like some other guys do. As I mentioned, we need the function with a long-time waiting.
When I went through the HD
code last week, I found it is possible and easy to support locking-portrait mode. So I posted to show it. The modification is very simple and no more than 10 lines or code. Trust me. So I don't think there is any side effect for this change.
Please forgive my pool English and I wish I have explained it clearly.